pythonPackages.reproject: init at 0.4
This commit is contained in:
parent
a068e9ffc2
commit
d81b59b027
35
pkgs/development/python-modules/reproject/default.nix
Normal file
35
pkgs/development/python-modules/reproject/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -798,6 +798,8 @@ in {
|
|||||||
|
|
||||||
relatorio = callPackage ../development/python-modules/relatorio { };
|
relatorio = callPackage ../development/python-modules/relatorio { };
|
||||||
|
|
||||||
|
reproject = callPackage ../development/python-modules/reproject { };
|
||||||
|
|
||||||
remotecv = callPackage ../development/python-modules/remotecv { };
|
remotecv = callPackage ../development/python-modules/remotecv { };
|
||||||
|
|
||||||
pyzufall = callPackage ../development/python-modules/pyzufall { };
|
pyzufall = callPackage ../development/python-modules/pyzufall { };
|
||||||
|
Loading…
Reference in New Issue
Block a user