at master 1.5 kB view raw
1{ 2 lib, 3 asdf, 4 astropy, 5 astropy-healpix, 6 buildPythonPackage, 7 cython, 8 dask, 9 extension-helpers, 10 fetchFromGitHub, 11 fsspec, 12 gwcs, 13 numpy, 14 pillow, 15 pyavm, 16 pytest-astropy, 17 pytest-xdist, 18 pytestCheckHook, 19 scipy, 20 setuptools, 21 setuptools-scm, 22 shapely, 23 tqdm, 24 zarr, 25}: 26 27buildPythonPackage rec { 28 pname = "reproject"; 29 version = "0.15.0"; 30 pyproject = true; 31 32 src = fetchFromGitHub { 33 owner = "astropy"; 34 repo = "reproject"; 35 tag = "v${version}"; 36 hash = "sha256-gv5LOxXTNdHSx4Q4ydi/QBHhc7/E/DXJD7WuPBAH0dE="; 37 }; 38 39 build-system = [ 40 setuptools 41 setuptools-scm 42 cython 43 extension-helpers 44 numpy 45 ]; 46 47 dependencies = [ 48 astropy 49 astropy-healpix 50 dask 51 fsspec 52 numpy 53 pillow 54 pyavm 55 scipy 56 zarr 57 ] 58 ++ dask.optional-dependencies.array; 59 60 nativeCheckInputs = [ 61 pytestCheckHook 62 pytest-astropy 63 pytest-xdist 64 asdf 65 gwcs 66 shapely 67 tqdm 68 ]; 69 70 enabledTestPaths = [ 71 "build/lib*" 72 ]; 73 74 disabledTestPaths = [ 75 # Uses network 76 "build/lib*/reproject/interpolation/" 77 ]; 78 79 pythonImportsCheck = [ "reproject" ]; 80 81 meta = { 82 description = "Reproject astronomical images"; 83 downloadPage = "https://github.com/astropy/reproject"; 84 homepage = "https://reproject.readthedocs.io"; 85 changelog = "https://github.com/astropy/reproject/releases/tag/${src.tag}"; 86 license = lib.licenses.bsd3; 87 maintainers = with lib.maintainers; [ smaret ]; 88 }; 89}