python39Packages.python-cinderclient: init at 8.1.0

This commit is contained in:
Sandro Jäckel 2021-09-11 12:17:12 +02:00
parent 260ae86012
commit 1c8b1984e8
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
3 changed files with 59 additions and 1 deletions

@ -38,6 +38,5 @@ buildPythonPackage rec {
checkPhase = ''
stestr run
'';
}

@ -0,0 +1,57 @@
{ lib
, buildPythonPackage
, fetchPypi
, ddt
, keystoneauth1
, oslo-i18n
, oslo-serialization
, oslo-utils
, pbr
, requests
, prettytable
, requests-mock
, simplejson
, stestr
, stevedore
}:
buildPythonPackage rec {
pname = "python-cinderclient";
version = "8.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "b57b432b2ac9161c2482a569a023211d2d3d0ada81c4da62c8f6e47f0b2bf82d";
};
propagatedBuildInputs = [
simplejson
keystoneauth1
oslo-i18n
oslo-utils
pbr
prettytable
requests
stevedore
];
checkInputs = [
ddt
oslo-serialization
requests-mock
stestr
];
checkPhase = ''
stestr run
'';
pythonImportsCheck = [ "cinderclient" ];
meta = with lib; {
description = "OpenStack Block Storage API Client Library";
homepage = "https://github.com/openstack/python-cinderclient";
license = licenses.asl20;
maintainers = teams.openstack.members;
};
}

@ -7127,6 +7127,8 @@ in {
python-box = callPackage ../development/python-modules/python-box { };
python-cinderclient = callPackage ../development/python-modules/python-cinderclient { };
python-constraint = callPackage ../development/python-modules/python-constraint { };
python-crontab = callPackage ../development/python-modules/python-crontab { };