tifffile: init at 0.13.0 (#33750)
* tifffile: init at v0.13.0 * python.pkgs.tifffile: actually run tests
This commit is contained in:
parent
fa3aec7e4d
commit
6ccb554f3b
28
pkgs/development/python-modules/tifffile/default.nix
Normal file
28
pkgs/development/python-modules/tifffile/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib, stdenv, fetchPypi, buildPythonPackage, isPy27, pythonOlder
|
||||
, numpy, nose, enum34, futures }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tifffile";
|
||||
version = "0.13.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1rqx2bar6dcsbmzq68mjh5bsyjzhbkqxi2dsv7j0vdbnjs5dfq9q";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkPhase = ''
|
||||
nosetests --exe -v --exclude="test_extension"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ numpy ]
|
||||
++ lib.optional isPy27 futures
|
||||
++ lib.optional (pythonOlder "3.0") enum34;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Read and write image data from and to TIFF files.";
|
||||
homepage = https://github.com/blink1073/tifffile;
|
||||
maintainers = [ maintainers.lebastr ];
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
}
|
@ -17779,6 +17779,8 @@ in {
|
||||
|
||||
tiros = callPackage ../development/python-modules/tiros { };
|
||||
|
||||
tifffile = callPackage ../development/python-modules/tifffile { };
|
||||
|
||||
# Tkinter/tkinter is part of the Python standard library.
|
||||
# The Python interpreters in Nixpkgs come without tkinter by default.
|
||||
# To make the module available, we make it available as any other
|
||||
|
Loading…
Reference in New Issue
Block a user