1{ lib 2, buildPythonApplication 3, fetchPypi 4, pbr 5, oslo-config 6, oslo-log 7, oslo-serialization 8, oslo-utils 9, prettytable 10, requests 11, simplejson 12, Babel 13, osc-lib 14, python-keystoneclient 15, debtcollector 16, callPackage 17}: 18 19buildPythonApplication rec { 20 pname = "python-manilaclient"; 21 version = "3.0.0"; 22 23 src = fetchPypi { 24 inherit pname version; 25 sha256 = "2d90af35c5beccc53fa6b0f5a3c4b330a065e86924c33c42b017f18943ab2b05"; 26 }; 27 28 propagatedBuildInputs = [ 29 pbr 30 oslo-config 31 oslo-log 32 oslo-serialization 33 oslo-utils 34 prettytable 35 requests 36 simplejson 37 Babel 38 osc-lib 39 python-keystoneclient 40 debtcollector 41 ]; 42 43 # Checks moved to 'passthru.tests' to workaround infinite recursion 44 doCheck = false; 45 46 passthru.tests = { 47 tests = callPackage ./tests.nix { }; 48 }; 49 50 pythonImportsCheck = [ "manilaclient" ]; 51 52 meta = with lib; { 53 description = "Client library for OpenStack Manila API"; 54 homepage = "https://github.com/openstack/python-manilaclient"; 55 license = licenses.asl20; 56 maintainers = teams.openstack.members; 57 }; 58}