python3Packages.astropy-extension-helpers: disable on older Python releases

main
Fabian Affolter 2 years ago committed by GitHub
parent 59cb94fb28
commit c67fa73bf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      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 ];
};
}

Loading…
Cancel
Save