mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-27 06:25:23 +00:00
python310Packages.python-keystoneclient: disable on older Python releases
This commit is contained in:
parent
448f791692
commit
f627a79591
@ -6,6 +6,7 @@
|
||||
, oslo-config
|
||||
, oslo-serialization
|
||||
, pbr
|
||||
, pythonOlder
|
||||
, requests-mock
|
||||
, stestr
|
||||
, testresources
|
||||
@ -15,10 +16,13 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "python-keystoneclient";
|
||||
version = "4.5.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-bX8FxpLn2yaSd4KEx3mubOqLIVmRS0QXpfoL/qHinNw=";
|
||||
hash = "sha256-bX8FxpLn2yaSd4KEx3mubOqLIVmRS0QXpfoL/qHinNw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -40,7 +44,9 @@ buildPythonPackage rec {
|
||||
stestr run
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "keystoneclient" ];
|
||||
pythonImportsCheck = [
|
||||
"keystoneclient"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client Library for OpenStack Identity";
|
||||
|
Loading…
Reference in New Issue
Block a user