summary refs log tree commit diff
path: root/pkgs/development/python-modules/pims/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pims/default.nix')
-rw-r--r--pkgs/development/python-modules/pims/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pims/default.nix b/pkgs/development/python-modules/pims/default.nix
new file mode 100644
index 00000000000..4e45d5203e6
--- /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 ];
+  };
+}