2021-08-15 12:00:32 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, keystoneauth1
|
|
|
|
, openssl
|
|
|
|
, oslo-config
|
|
|
|
, oslo-serialization
|
|
|
|
, pbr
|
|
|
|
, requests-mock
|
|
|
|
, stestr
|
|
|
|
, testresources
|
|
|
|
, testscenarios
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-keystoneclient";
|
2022-01-08 13:05:03 +00:00
|
|
|
version = "4.4.0";
|
2021-08-15 12:00:32 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-08 13:05:03 +00:00
|
|
|
sha256 = "fc17ca9a1aa493104b496ba347f12507f271b5b6e819f4de4aef6574918aa071";
|
2021-08-15 12:00:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
keystoneauth1
|
|
|
|
oslo-config
|
|
|
|
oslo-serialization
|
|
|
|
pbr
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
openssl
|
|
|
|
requests-mock
|
|
|
|
stestr
|
|
|
|
testresources
|
|
|
|
testscenarios
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
stestr run
|
|
|
|
'';
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "keystoneclient" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Client Library for OpenStack Identity";
|
|
|
|
homepage = "https://github.com/openstack/python-keystoneclient";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = teams.openstack.members;
|
|
|
|
};
|
|
|
|
}
|