diff --git a/pkgs/development/python-modules/pims/default.nix b/pkgs/development/python-modules/pims/default.nix new file mode 100644 index 000000000000..4e45d5203e66 --- /dev/null +++ b/pkgs/development/python-modules/pims/default.nix @@ -0,0 +1,34 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, slicerator +, scikitimage +, six +, numpy +, tifffile +, pytest +, nose +}: + +buildPythonPackage rec { + version = "0.4.1"; + pname = "PIMS"; + + src = fetchPypi { + inherit pname version; + sha256 = "6a53a155e900b44e71127a1e1fccbfbaed7eec3c2b52497c40c23a05f334c9dd"; + }; + + checkInputs = [ nose ]; + propagatedBuildInputs = [ slicerator six numpy tifffile scikitimage ]; + + # not everything packaged with pypi release + doCheck = false; + + meta = with stdenv.lib; { + homepage = https://github.com/soft-matter/pims; + description = "Python Image Sequence: Load video and sequential images in many formats with a simple, consistent interface"; + license = licenses.bsdOriginal; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4c6c82b06a61..4a4211e7f597 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -386,6 +386,8 @@ in { phonopy = callPackage ../development/python-modules/phonopy { }; + pims = callPackage ../development/python-modules/pims { }; + plantuml = callPackage ../tools/misc/plantuml { }; pymysql = callPackage ../development/python-modules/pymysql { };