python3Packages.python-keystoneclient: init at 4.2.0

This commit is contained in:
Angus Trau 2021-08-15 21:00:32 +10:00 committed by Sandro Jäckel
parent b125cedcc1
commit 01a6eec3a2
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,51 @@
{ lib
, buildPythonPackage
, fetchPypi
, keystoneauth1
, openssl
, oslo-config
, oslo-serialization
, pbr
, requests-mock
, stestr
, testresources
, testscenarios
}:
buildPythonPackage rec {
pname = "python-keystoneclient";
version = "4.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "12jsiw82x2zcn8sf78xisf85kr28gl3jqj46a0wxx59v91p44j02";
};
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;
};
}

View file

@ -5510,6 +5510,8 @@ in {
python-juicenet = callPackage ../development/python-modules/python-juicenet { };
python-keystoneclient = callPackage ../development/python-modules/python-keystoneclient { };
python-lsp-black = callPackage ../development/python-modules/python-lsp-black { };
python-openems = callPackage ../development/python-modules/python-openems { };