about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/development/python-modules/astroquery/default.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/astroquery/default.nix b/pkgs/development/python-modules/astroquery/default.nix
index e82dca3e95537..f7764149a663a 100644
--- a/pkgs/development/python-modules/astroquery/default.nix
+++ b/pkgs/development/python-modules/astroquery/default.nix
@@ -15,6 +15,7 @@
 buildPythonPackage rec {
   pname = "astroquery";
   version = "0.4.1";
+  format = "pyproject";
 
   src = fetchPypi {
     inherit pname version;
@@ -31,11 +32,6 @@ buildPythonPackage rec {
   doCheck = false;
   checkInputs = [ pytest pytest-astropy ];
 
-  # Disable automatic update of the astropy-helper module
-  postPatch = ''
-    substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
-  '';
-
   # Tests must be run in the build directory. The tests create files
   # in $HOME/.astropy so we need to set HOME to $TMPDIR.
   checkPhase = ''