Merge pull request #270027 from a-n-n-a-l-e-e/astropy-healpix-darwin-build

python311Packages.astropy-healpix: upstream patch to fix darwin build

authored by Julien Malka and committed by GitHub e34acbc7 edfc8aca

+11
+11
pkgs/development/python-modules/astropy-healpix/default.nix
··· 2 , stdenv 3 , buildPythonPackage 4 , fetchPypi 5 , numpy 6 , astropy 7 , astropy-extension-helpers ··· 20 pname = lib.replaceStrings ["-"] ["_"] pname; 21 hash = "sha256-9ILvYqEOaGMD84xm8I3xe53e5a2CIZwjVx7oDXar7qM="; 22 }; 23 24 nativeBuildInputs = [ 25 astropy-extension-helpers
··· 2 , stdenv 3 , buildPythonPackage 4 , fetchPypi 5 + , fetchpatch 6 , numpy 7 , astropy 8 , astropy-extension-helpers ··· 21 pname = lib.replaceStrings ["-"] ["_"] pname; 22 hash = "sha256-9ILvYqEOaGMD84xm8I3xe53e5a2CIZwjVx7oDXar7qM="; 23 }; 24 + 25 + patches = [ 26 + # remove on next udpate. make Numpy loop function args const correct. 27 + # https://github.com/astropy/astropy-healpix/pull/199 28 + (fetchpatch { 29 + name = "numpy-const-args-match.patch"; 30 + url = "https://github.com/astropy/astropy-healpix/commit/ccf6d9ea4be131f56646adbd7bc482bfcd84f21c.patch"; 31 + hash = "sha256-fpDxTbs3sHJSb4mnveorM+wlseXbZu1biGyBTNC9ZUo="; 32 + }) 33 + ]; 34 35 nativeBuildInputs = [ 36 astropy-extension-helpers