about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/astropy-healpix/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/astropy-healpix/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/astropy-healpix/default.nix19
1 files changed, 5 insertions, 14 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/astropy-healpix/default.nix b/nixpkgs/pkgs/development/python-modules/astropy-healpix/default.nix
index 6944ee4d8683..b25fb6e9eb43 100644
--- a/nixpkgs/pkgs/development/python-modules/astropy-healpix/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/astropy-healpix/default.nix
@@ -2,10 +2,10 @@
 , stdenv
 , buildPythonPackage
 , fetchPypi
-, fetchpatch
 , numpy
 , astropy
 , astropy-extension-helpers
+, setuptools
 , setuptools-scm
 , pytestCheckHook
 , pytest-doctestplus
@@ -14,27 +14,18 @@
 
 buildPythonPackage rec {
   pname = "astropy-healpix";
-  version = "1.0.0";
-  format = "setuptools";
+  version = "1.0.1";
+  pyproject = true;
 
   src = fetchPypi {
     inherit version;
     pname = lib.replaceStrings ["-"] ["_"] pname;
-    hash = "sha256-9ILvYqEOaGMD84xm8I3xe53e5a2CIZwjVx7oDXar7qM=";
+    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
     setuptools-scm
   ];