1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 boto3, 6 diskcache, 7 packaging, 8 numpy, 9 requests, 10 scikit-image, 11 six, 12 pytestCheckHook, 13 tifffile, 14}: 15 16buildPythonPackage rec { 17 pname = "slicedimage"; 18 version = "4.1.1"; 19 format = "setuptools"; 20 21 src = fetchFromGitHub { 22 owner = "spacetx"; 23 repo = "slicedimage"; 24 rev = version; 25 sha256 = "1vpg8varvfx0nj6xscdfm7m118hzsfz7qfzn28r9rsfvrhr0dlcw"; 26 }; 27 28 propagatedBuildInputs = [ 29 boto3 30 diskcache 31 packaging 32 numpy 33 requests 34 scikit-image 35 six 36 tifffile 37 ]; 38 39 nativeCheckInputs = [ pytestCheckHook ]; 40 41 # Ignore tests which require setup, check again if disabledTestFiles can be used 42 disabledTestPaths = [ "tests/io_" ]; 43 44 pythonImportsCheck = [ "slicedimage" ]; 45 46 meta = with lib; { 47 description = "Library to access sliced imaging data"; 48 mainProgram = "slicedimage"; 49 homepage = "https://github.com/spacetx/slicedimage"; 50 license = licenses.mit; 51 maintainers = [ ]; 52 }; 53}