1{ lib 2, buildPythonPackage 3, fetchPypi 4, ddt 5, keystoneauth1 6, oslo-i18n 7, oslo-serialization 8, oslo-utils 9, pbr 10, requests 11, prettytable 12, requests-mock 13, simplejson 14, stestr 15, stevedore 16}: 17 18buildPythonPackage rec { 19 pname = "python-cinderclient"; 20 version = "8.1.0"; 21 22 src = fetchPypi { 23 inherit pname version; 24 sha256 = "b57b432b2ac9161c2482a569a023211d2d3d0ada81c4da62c8f6e47f0b2bf82d"; 25 }; 26 27 propagatedBuildInputs = [ 28 simplejson 29 keystoneauth1 30 oslo-i18n 31 oslo-utils 32 pbr 33 prettytable 34 requests 35 stevedore 36 ]; 37 38 checkInputs = [ 39 ddt 40 oslo-serialization 41 requests-mock 42 stestr 43 ]; 44 45 checkPhase = '' 46 stestr run 47 ''; 48 49 pythonImportsCheck = [ "cinderclient" ]; 50 51 meta = with lib; { 52 description = "OpenStack Block Storage API Client Library"; 53 homepage = "https://github.com/openstack/python-cinderclient"; 54 license = licenses.asl20; 55 maintainers = teams.openstack.members; 56 }; 57}