nixpkgs/pkgs/development/python-modules/tifffile/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

56 lines
924 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
2022-01-14 17:00:05 +01:00
, dask
, fetchPypi
, fsspec
, lxml
, numpy
2022-01-14 17:00:05 +01:00
, pytestCheckHook
, pythonOlder
, zarr
}:
buildPythonPackage rec {
pname = "tifffile";
version = "2022.2.9";
2022-01-14 17:00:05 +01:00
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ftp0EXZDaBuyyqaVtI854iQ7SIf3z5kdWt/9gT5cg3M=";
};
2022-01-14 17:00:05 +01:00
propagatedBuildInputs = [
numpy
];
checkInputs = [
2022-01-14 17:00:05 +01:00
dask
fsspec
lxml
pytestCheckHook
zarr
];
2022-01-14 17:00:05 +01:00
disabledTests = [
# Test require network access
"test_class_omexml"
"test_write_ome"
# Test file is missing
"test_write_predictor"
];
2022-01-14 17:00:05 +01:00
pythonImportsCheck = [
"tifffile"
];
meta = with lib; {
2022-01-14 17:00:05 +01:00
description = "Read and write image data from and to TIFF files";
homepage = "https://github.com/cgohlke/tifffile/";
license = licenses.bsd3;
2022-01-14 17:00:05 +01:00
maintainers = with maintainers; [ lebastr ];
};
}