blob: 58dc4f055489d42919c03f3e68d63c5e7a0d9588 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
numpy,
xarray,
xarray-dataclass,
}:
buildPythonPackage rec {
pname = "spatial-image";
version = "1.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "spatial-image";
repo = "spatial-image";
tag = "v${version}";
hash = "sha256-mhT86v4/5s4dFw9sDYm5Ba7sM0ME9ifN9KEzhxVigOc=";
};
build-system = [ hatchling ];
dependencies = [
numpy
xarray
xarray-dataclass
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "spatial_image" ];
meta = {
description = "Multi-dimensional spatial image data structure for scientific Python";
homepage = "https://github.com/spatial-image/spatial-image";
changelog = "https://github.com/spatial-image/spatial-image/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
|