Merge pull request #280886 from a-n-n-a-l-e-e/astropy-healpix-rm-patch

python311Packages.astropy-healpix: remove patch; fix build
This commit is contained in:
Nick Cao 2024-01-14 11:36:39 -05:00 committed by GitHub
commit de5c7ea397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,6 @@
, stdenv
, buildPythonPackage
, fetchPypi
, fetchpatch
, numpy
, astropy
, astropy-extension-helpers
@ -24,16 +23,6 @@ buildPythonPackage rec {
hash = "sha256-74k4vfcpdXw4CowXNHlNc3StAOB2f8Si+mOma+8SYkI=";
};
patches = [
# remove on next udpate. make Numpy loop function args const correct.
# https://github.com/astropy/astropy-healpix/pull/199
(fetchpatch {
name = "numpy-const-args-match.patch";
url = "https://github.com/astropy/astropy-healpix/commit/ccf6d9ea4be131f56646adbd7bc482bfcd84f21c.patch";
hash = "sha256-fpDxTbs3sHJSb4mnveorM+wlseXbZu1biGyBTNC9ZUo=";
})
];
nativeBuildInputs = [
astropy-extension-helpers
setuptools