blob: 62bcc2d639d68aa17eeabf83a1f094dbb6f1b4d6 (
plain)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
numpy,
scipy,
matplotlib,
pytestCheckHook,
}:
buildPythonPackage {
pname = "regional";
version = "1.1.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "freeman-lab";
repo = "regional";
rev = "e3a29c58982e5cd3d5700131ac96e5e0b84fb981"; # no tags in repo
hash = "sha256-u88v9H9RZ9cgtSat73QEnHr3gZGL8DmBZ0XphMuoDw8=";
};
propagatedBuildInputs = [
matplotlib
numpy
scipy
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "regional" ];
disabledTests = [
"test_dilate"
"test_outline"
"test_mask"
];
meta = {
description = "Simple manipualtion and display of spatial regions";
homepage = "https://github.com/freeman-lab/regional";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|