diff options
author | Sébastien Maret <sebastien.maret@icloud.com> | 2019-02-13 16:08:56 +0100 |
---|---|---|
committer | Sébastien Maret <sebastien.maret@icloud.com> | 2019-03-14 09:41:37 +0100 |
commit | a068e9ffc2106fb6c6f4ae2c54bc1efff51dfc2f (patch) | |
tree | 7149a190ff726015233b36deebdc57fa83913b74 /pkgs/development/python-modules/astropy-healpix | |
parent | 59a562ee35ef4d46ed4ee8358fe73cff0ae384fe (diff) |
pythonPackages.astropy-healpix: init at 0.4
Diffstat (limited to 'pkgs/development/python-modules/astropy-healpix')
-rw-r--r-- | pkgs/development/python-modules/astropy-healpix/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/astropy-healpix/default.nix b/pkgs/development/python-modules/astropy-healpix/default.nix new file mode 100644 index 0000000000000..2027f694c77de --- /dev/null +++ b/pkgs/development/python-modules/astropy-healpix/default.nix @@ -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 ]; + }; +} |