1{ 2 lib, 3 buildPythonPackage, 4 cliff, 5 fetchPypi, 6 iso8601, 7 keystoneauth1, 8 osc-lib, 9 oslo-i18n, 10 oslo-serialization, 11 oslo-utils, 12 pbr, 13 prettytable, 14 python-swiftclient, 15 pythonOlder, 16 pyyaml, 17 requests, 18 requests-mock, 19 stestr, 20 testscenarios, 21}: 22 23buildPythonPackage rec { 24 pname = "python-heatclient"; 25 version = "3.5.0"; 26 format = "setuptools"; 27 28 disabled = pythonOlder "3.8"; 29 30 src = fetchPypi { 31 inherit pname version; 32 hash = "sha256-B1F40HYHFF91mkxwySR/kqCvlwLLtBgqwUvw2byOc9g="; 33 }; 34 35 propagatedBuildInputs = [ 36 cliff 37 iso8601 38 keystoneauth1 39 osc-lib 40 oslo-i18n 41 oslo-serialization 42 oslo-utils 43 pbr 44 prettytable 45 python-swiftclient 46 pyyaml 47 requests 48 ]; 49 50 nativeCheckInputs = [ 51 stestr 52 testscenarios 53 requests-mock 54 ]; 55 56 checkPhase = '' 57 stestr run -e <(echo " 58 heatclient.tests.unit.test_common_http.HttpClientTest.test_get_system_ca_file 59 heatclient.tests.unit.test_deployment_utils.TempURLSignalTest.test_create_temp_url 60 ") 61 ''; 62 63 pythonImportsCheck = [ "heatclient" ]; 64 65 meta = with lib; { 66 description = "Library for Heat built on the Heat orchestration API"; 67 mainProgram = "heat"; 68 homepage = "https://github.com/openstack/python-heatclient"; 69 license = licenses.asl20; 70 maintainers = teams.openstack.members; 71 }; 72}