pythonPackages.reproject: init at 0.4

This commit is contained in:
Sébastien Maret 2019-02-13 16:15:23 +01:00
parent a068e9ffc2
commit d81b59b027
No known key found for this signature in database
GPG Key ID: 86E30E5A0F5FC59C
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, astropy
, astropy-healpix
, astropy-helpers
, scipy
}:
buildPythonPackage rec {
pname = "reproject";
version = "0.4";
doCheck = false; # tests require pytest-astropy
src = fetchPypi {
inherit pname version;
sha256 = "dbbb18a8b211292c7ce61121b8538fc279540337be1c05cabc7570c5aca6d734";
};
propagatedBuildInputs = [ numpy astropy astropy-healpix astropy-helpers scipy ];
# Disable automatic update of the astropy-helper module
postPatch = ''
substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
'';
meta = with lib; {
description = "Reproject astronomical images";
homepage = https://reproject.readthedocs.io;
license = licenses.bsd3;
maintainers = [ maintainers.smaret ];
};
}

View File

@ -798,6 +798,8 @@ in {
relatorio = callPackage ../development/python-modules/relatorio { };
reproject = callPackage ../development/python-modules/reproject { };
remotecv = callPackage ../development/python-modules/remotecv { };
pyzufall = callPackage ../development/python-modules/pyzufall { };