python310Packages.python-keystoneclient: disable on older Python releases

main
Fabian Affolter 2 years ago committed by GitHub
parent 448f791692
commit f627a79591
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      pkgs/development/python-modules/python-keystoneclient/default.nix

@ -6,6 +6,7 @@
, oslo-config , oslo-config
, oslo-serialization , oslo-serialization
, pbr , pbr
, pythonOlder
, requests-mock , requests-mock
, stestr , stestr
, testresources , testresources
@ -15,10 +16,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-keystoneclient"; pname = "python-keystoneclient";
version = "4.5.0"; version = "4.5.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-bX8FxpLn2yaSd4KEx3mubOqLIVmRS0QXpfoL/qHinNw="; hash = "sha256-bX8FxpLn2yaSd4KEx3mubOqLIVmRS0QXpfoL/qHinNw=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -40,7 +44,9 @@ buildPythonPackage rec {
stestr run stestr run
''; '';
pythonImportsCheck = [ "keystoneclient" ]; pythonImportsCheck = [
"keystoneclient"
];
meta = with lib; { meta = with lib; {
description = "Client Library for OpenStack Identity"; description = "Client Library for OpenStack Identity";

Loading…
Cancel
Save