nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 55 lines 925 B view raw
1{ lib 2, buildPythonPackage 3, dask 4, fetchPypi 5, fsspec 6, lxml 7, numpy 8, pytestCheckHook 9, pythonOlder 10, zarr 11}: 12 13buildPythonPackage rec { 14 pname = "tifffile"; 15 version = "2022.3.25"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-bZQ/LAGxo0pHbJY9EZVl+6EI9VngYUJsY6UVeEaVntk="; 23 }; 24 25 propagatedBuildInputs = [ 26 numpy 27 ]; 28 29 checkInputs = [ 30 dask 31 fsspec 32 lxml 33 pytestCheckHook 34 zarr 35 ]; 36 37 disabledTests = [ 38 # Test require network access 39 "test_class_omexml" 40 "test_write_ome" 41 # Test file is missing 42 "test_write_predictor" 43 ]; 44 45 pythonImportsCheck = [ 46 "tifffile" 47 ]; 48 49 meta = with lib; { 50 description = "Read and write image data from and to TIFF files"; 51 homepage = "https://github.com/cgohlke/tifffile/"; 52 license = licenses.bsd3; 53 maintainers = with maintainers; [ lebastr ]; 54 }; 55}