52 lines
886 B
Nix
52 lines
886 B
Nix
{ 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;
|
|
};
|
|
}
|