diff options
Diffstat (limited to 'pkgs/development/python-modules/astropy-healpix/default.nix')
-rw-r--r-- | pkgs/development/python-modules/astropy-healpix/default.nix | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/astropy-healpix/default.nix b/pkgs/development/python-modules/astropy-healpix/default.nix index 23db660f951bb..e65d0d2222854 100644 --- a/pkgs/development/python-modules/astropy-healpix/default.nix +++ b/pkgs/development/python-modules/astropy-healpix/default.nix @@ -1,30 +1,36 @@ -{ lib -, stdenv -, buildPythonPackage -, fetchPypi -, numpy -, astropy -, astropy-extension-helpers -, setuptools -, setuptools-scm -, pytestCheckHook -, pytest-doctestplus -, hypothesis +{ + lib, + stdenv, + buildPythonPackage, + fetchPypi, + numpy, + astropy, + astropy-extension-helpers, + setuptools, + setuptools-scm, + pytestCheckHook, + pytest-doctestplus, + hypothesis, }: buildPythonPackage rec { pname = "astropy-healpix"; - version = "1.0.2"; + version = "1.0.3"; pyproject = true; src = fetchPypi { inherit version; - pname = lib.replaceStrings ["-"] ["_"] pname; - hash = "sha256-BW+m7ZOWvtx3HTdNh3zeg9lGCj9ip4/gXb+boDlAMjo="; + pname = lib.replaceStrings [ "-" ] [ "_" ] pname; + hash = "sha256-3l0qfsl7FnBFBmlx8loVDR5AYfBxWb4jZJY02zbnl0Y="; }; + postPatch = '' + substituteInPlace pyproject.toml --replace "numpy>=2.0.0rc1" "numpy" + ''; + nativeBuildInputs = [ astropy-extension-helpers + numpy setuptools setuptools-scm ]; |