a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
57 lines
946 B
Nix
57 lines
946 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 = "9.2.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-qnYodaJwr0kFfKyofVsDTmMLMYDexqGTz8uSefPWPfQ=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
simplejson
|
|
keystoneauth1
|
|
oslo-i18n
|
|
oslo-utils
|
|
pbr
|
|
prettytable
|
|
requests
|
|
stevedore
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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;
|
|
};
|
|
}
|