about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-04-09 21:26:06 +0200
committerGitHub <noreply@github.com>2022-04-09 21:26:06 +0200
commitc67fa73bf9bb4aaea660118c7cd79b1dc9841905 (patch)
tree446e5902a470056a2a5742369d8942a91040cede /pkgs/development
parent59cb94fb28181b9d974ba0fd9812cbb87c144e9b (diff)
python3Packages.astropy-extension-helpers: disable on older Python releases
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/astropy-extension-helpers/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/astropy-extension-helpers/default.nix b/pkgs/development/python-modules/astropy-extension-helpers/default.nix
index 7bf838860b385..90162d431caf7 100644
--- a/pkgs/development/python-modules/astropy-extension-helpers/default.nix
+++ b/pkgs/development/python-modules/astropy-extension-helpers/default.nix
@@ -3,6 +3,7 @@
 , fetchPypi
 , findutils
 , pytestCheckHook
+, pythonOlder
 , setuptools-scm
 }:
 
@@ -11,6 +12,8 @@ buildPythonPackage rec {
   version = "1.0.0";
   format = "pyproject";
 
+  disabled = pythonOlder "3.6";
+
   src = fetchPypi {
     inherit pname version;
     sha256 = "ca1bfac67c79cf4a7a0c09286ce2a24eec31bf17715818d0726318dd0e5050e6";
@@ -22,7 +25,10 @@ buildPythonPackage rec {
 
   patches = [ ./permissions.patch ];
 
-  checkInputs = [ findutils pytestCheckHook ];
+  checkInputs = [
+    findutils
+    pytestCheckHook
+  ];
 
   # avoid import mismatch errors, as conftest.py is copied to build dir
   pytestFlagsArray = [
@@ -37,6 +43,6 @@ buildPythonPackage rec {
     description = "Utilities for building and installing packages in the Astropy ecosystem";
     homepage = "https://github.com/astropy/extension-helpers";
     license = licenses.bsd3;
-    maintainers = [ maintainers.rmcgibbo ];
+    maintainers = with maintainers; [ rmcgibbo ];
   };
 }