summary refs log tree commit diff
path: root/pkgs/development/python-modules/pims
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-09-13 16:41:13 -0400
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2018-09-13 16:41:13 -0400
commit1a67a15c6ff55c97cc27daaf00f51cccc0711799 (patch)
tree3d141513508b5afedecb2b91281b61dce2e0d5b1 /pkgs/development/python-modules/pims
parent41cd200b6400d95f94f61305493a88464c999135 (diff)
downloadnixpkgs-1a67a15c6ff55c97cc27daaf00f51cccc0711799.tar
nixpkgs-1a67a15c6ff55c97cc27daaf00f51cccc0711799.tar.gz
nixpkgs-1a67a15c6ff55c97cc27daaf00f51cccc0711799.tar.bz2
nixpkgs-1a67a15c6ff55c97cc27daaf00f51cccc0711799.tar.lz
nixpkgs-1a67a15c6ff55c97cc27daaf00f51cccc0711799.tar.xz
nixpkgs-1a67a15c6ff55c97cc27daaf00f51cccc0711799.tar.zst
nixpkgs-1a67a15c6ff55c97cc27daaf00f51cccc0711799.zip
pythonPackages.pims: init at 0.4.1
Diffstat (limited to 'pkgs/development/python-modules/pims')
-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 ];
+  };
+}