pythonPackages.slicedimage: init at 3.2.0

This commit is contained in:
Chris Ostrouchov 2019-07-12 23:34:25 -04:00
parent ce2e58b978
commit 535979fa49
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,50 @@
{ lib
, buildPythonPackage
, fetchPypi
, boto3
, diskcache
, enum34
, packaging
, pathlib
, numpy
, requests
, scikitimage
, six
, pytest
, isPy27
}:
buildPythonPackage rec {
pname = "slicedimage";
version = "3.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "adab09457e22465f05998fdcf8ea14179185f8e780a4021526ba163dd476cd02";
};
propagatedBuildInputs = [
boto3
diskcache
packaging
numpy
requests
scikitimage
six
] ++ lib.optionals isPy27 [ pathlib enum34 ];
checkInputs = [
pytest
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Library to access sliced imaging data";
homepage = https://github.com/spacetx/slicedimage;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -959,6 +959,8 @@ in {
slackclient = callPackage ../development/python-modules/slackclient { };
slicedimage = callPackage ../development/python-modules/slicedimage { };
slicerator = callPackage ../development/python-modules/slicerator { };
slither-analyzer = callPackage ../development/python-modules/slither-analyzer { };