blob: 8c7b0e242ce446b3be00f3634108827c492fcd36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
boto3,
diskcache,
packaging,
numpy,
requests,
scikit-image,
six,
pytestCheckHook,
tifffile,
}:
buildPythonPackage rec {
pname = "slicedimage";
version = "4.1.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "spacetx";
repo = pname;
rev = version;
sha256 = "1vpg8varvfx0nj6xscdfm7m118hzsfz7qfzn28r9rsfvrhr0dlcw";
};
propagatedBuildInputs = [
boto3
diskcache
packaging
numpy
requests
scikit-image
six
tifffile
];
nativeCheckInputs = [ pytestCheckHook ];
# Ignore tests which require setup, check again if disabledTestFiles can be used
pytestFlagsArray = [ "--ignore tests/io_" ];
pythonImportsCheck = [ "slicedimage" ];
meta = with lib; {
description = "Library to access sliced imaging data";
mainProgram = "slicedimage";
homepage = "https://github.com/spacetx/slicedimage";
license = licenses.mit;
maintainers = [ ];
};
}
|