pythonPackages.astropy-healpix: init at 0.4
This commit is contained in:
parent
59a562ee35
commit
a068e9ffc2
33
pkgs/development/python-modules/astropy-healpix/default.nix
Normal file
33
pkgs/development/python-modules/astropy-healpix/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, numpy
|
||||||
|
, astropy
|
||||||
|
, astropy-helpers
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "astropy-healpix";
|
||||||
|
version = "0.4";
|
||||||
|
|
||||||
|
doCheck = false; # tests require pytest-astropy
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "8c9709ac923759c92eca6d2e623e734d0f417eed40ba835b77d99dec09e51aa2";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ numpy astropy astropy-helpers ];
|
||||||
|
|
||||||
|
# Disable automatic update of the astropy-helper module
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "BSD-licensed HEALPix for Astropy";
|
||||||
|
homepage = https://github.com/astropy/astropy-healpix;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = [ maintainers.smaret ];
|
||||||
|
};
|
||||||
|
}
|
@ -196,6 +196,8 @@ in {
|
|||||||
|
|
||||||
astropy-helpers = callPackage ../development/python-modules/astropy-helpers { };
|
astropy-helpers = callPackage ../development/python-modules/astropy-helpers { };
|
||||||
|
|
||||||
|
astropy-healpix = callPackage ../development/python-modules/astropy-healpix { };
|
||||||
|
|
||||||
astroquery = callPackage ../development/python-modules/astroquery { };
|
astroquery = callPackage ../development/python-modules/astroquery { };
|
||||||
|
|
||||||
asttokens = callPackage ../development/python-modules/asttokens { };
|
asttokens = callPackage ../development/python-modules/asttokens { };
|
||||||
|
Loading…
Reference in New Issue
Block a user