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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
{
lib,
asdf,
astropy,
astropy-healpix,
buildPythonPackage,
cython,
dask,
extension-helpers,
fetchFromGitHub,
fsspec,
gwcs,
numpy,
pillow,
pyavm,
pytest-astropy,
pytest-xdist,
pytestCheckHook,
scipy,
setuptools,
setuptools-scm,
shapely,
tqdm,
zarr,
}:
buildPythonPackage rec {
pname = "reproject";
version = "0.15.0";
pyproject = true;
src = fetchFromGitHub {
owner = "astropy";
repo = "reproject";
tag = "v${version}";
hash = "sha256-gv5LOxXTNdHSx4Q4ydi/QBHhc7/E/DXJD7WuPBAH0dE=";
};
build-system = [
setuptools
setuptools-scm
cython
extension-helpers
numpy
];
dependencies = [
astropy
astropy-healpix
dask
fsspec
numpy
pillow
pyavm
scipy
zarr
]
++ dask.optional-dependencies.array;
nativeCheckInputs = [
pytestCheckHook
pytest-astropy
pytest-xdist
asdf
gwcs
shapely
tqdm
];
enabledTestPaths = [
"build/lib*"
];
disabledTestPaths = [
# Uses network
"build/lib*/reproject/interpolation/"
];
pythonImportsCheck = [ "reproject" ];
meta = {
description = "Reproject astronomical images";
downloadPage = "https://github.com/astropy/reproject";
homepage = "https://reproject.readthedocs.io";
changelog = "https://github.com/astropy/reproject/releases/tag/${src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ smaret ];
};
}
|