1{ lib 2, astropy 3, astropy-extension-helpers 4, astropy-healpix 5, buildPythonPackage 6, cython 7, fetchPypi 8, numpy 9, pytest-astropy 10, pytestCheckHook 11, pythonOlder 12, scipy 13, setuptools-scm 14}: 15 16buildPythonPackage rec { 17 pname = "reproject"; 18 version = "0.9"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.7"; 22 23 src = fetchPypi { 24 inherit pname version; 25 hash = "sha256-zhjI4MjlCV9zR0nNcss+C36CZXY/imGsalfKMGacfi0="; 26 }; 27 28 nativeBuildInputs = [ 29 astropy-extension-helpers 30 cython 31 setuptools-scm 32 ]; 33 34 propagatedBuildInputs = [ 35 astropy 36 astropy-healpix 37 numpy 38 scipy 39 ]; 40 41 checkInputs = [ 42 pytest-astropy 43 pytestCheckHook 44 ]; 45 46 pytestFlagsArray = [ 47 "build/lib*" 48 # Avoid failure due to user warning: Distutils was imported before Setuptools 49 "-p no:warnings" 50 ]; 51 52 pythonImportsCheck = [ 53 "reproject" 54 ]; 55 56 meta = with lib; { 57 description = "Reproject astronomical images"; 58 homepage = "https://reproject.readthedocs.io"; 59 license = licenses.bsd3; 60 maintainers = with maintainers; [ smaret ]; 61 }; 62}