fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
56 lines
976 B
Nix
56 lines
976 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
keystoneauth1,
|
|
openssl,
|
|
oslo-config,
|
|
oslo-serialization,
|
|
pbr,
|
|
pythonOlder,
|
|
requests-mock,
|
|
stestr,
|
|
testresources,
|
|
testscenarios,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-keystoneclient";
|
|
version = "5.4.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-srS9vp2vews1O4gHZy7u0B+H3QO0+LQtDQYbCbiTH0E=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
keystoneauth1
|
|
oslo-config
|
|
oslo-serialization
|
|
pbr
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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;
|
|
};
|
|
}
|