14910f5943
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
51 lines
898 B
Nix
51 lines
898 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, keystoneauth1
|
|
, openssl
|
|
, oslo-config
|
|
, oslo-serialization
|
|
, pbr
|
|
, requests-mock
|
|
, stestr
|
|
, testresources
|
|
, testscenarios
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-keystoneclient";
|
|
version = "4.4.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "fc17ca9a1aa493104b496ba347f12507f271b5b6e819f4de4aef6574918aa071";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|