depot/third_party/nixpkgs/pkgs/development/python-modules/python-cinderclient/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

57 lines
953 B
Nix

{ 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;
};
}