2021-09-22 15:38:15 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
|
|
|
, fetchPypi
|
|
|
|
, pbr
|
|
|
|
, Babel
|
|
|
|
, cliff
|
|
|
|
, iso8601
|
|
|
|
, osc-lib
|
|
|
|
, prettytable
|
|
|
|
, oslo-i18n
|
|
|
|
, oslo-serialization
|
|
|
|
, oslo-utils
|
|
|
|
, keystoneauth1
|
|
|
|
, python-swiftclient
|
|
|
|
, pyyaml
|
|
|
|
, requests
|
|
|
|
, six
|
|
|
|
, stestr
|
|
|
|
, testscenarios
|
|
|
|
, requests-mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "python-heatclient";
|
2022-01-13 20:06:32 +00:00
|
|
|
version = "2.5.0";
|
2021-09-22 15:38:15 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-13 20:06:32 +00:00
|
|
|
sha256 = "b610748eb3f18f6bd762e0808accdf872308289a77c3b19ed2d8b9f306393a42";
|
2021-09-22 15:38:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pbr
|
|
|
|
Babel
|
|
|
|
cliff
|
|
|
|
iso8601
|
|
|
|
osc-lib
|
|
|
|
prettytable
|
|
|
|
oslo-i18n
|
|
|
|
oslo-serialization
|
|
|
|
oslo-utils
|
|
|
|
keystoneauth1
|
|
|
|
python-swiftclient
|
|
|
|
pyyaml
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
stestr
|
|
|
|
testscenarios
|
|
|
|
requests-mock
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
stestr run -e <(echo "
|
|
|
|
heatclient.tests.unit.test_common_http.HttpClientTest.test_get_system_ca_file
|
|
|
|
")
|
|
|
|
'';
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "heatclient" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A client library for Heat built on the Heat orchestration API";
|
|
|
|
homepage = "https://github.com/openstack/python-heatclient";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = teams.openstack.members;
|
|
|
|
};
|
|
|
|
}
|