2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
keystoneauth1,
|
|
|
|
openssl,
|
|
|
|
oslo-config,
|
|
|
|
oslo-serialization,
|
|
|
|
pbr,
|
|
|
|
pythonOlder,
|
|
|
|
requests-mock,
|
|
|
|
stestr,
|
|
|
|
testresources,
|
|
|
|
testscenarios,
|
2021-09-18 10:52:07 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-keystoneclient";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "5.4.0";
|
2022-06-16 17:23:12 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-srS9vp2vews1O4gHZy7u0B+H3QO0+LQtDQYbCbiTH0E=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
keystoneauth1
|
|
|
|
oslo-config
|
|
|
|
oslo-serialization
|
|
|
|
pbr
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-09-18 10:52:07 +00:00
|
|
|
openssl
|
|
|
|
requests-mock
|
|
|
|
stestr
|
|
|
|
testresources
|
|
|
|
testscenarios
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
stestr run
|
|
|
|
'';
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "keystoneclient" ];
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Client Library for OpenStack Identity";
|
|
|
|
homepage = "https://github.com/openstack/python-keystoneclient";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = teams.openstack.members;
|
|
|
|
};
|
|
|
|
}
|