pythonPackages.python-heatclient: init 2.4.0
This commit is contained in:
parent
0379ff190e
commit
c3c981d590
2 changed files with 71 additions and 0 deletions
|
@ -0,0 +1,69 @@
|
|||
{ 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";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b53529eb73f08c384181a580efaa42293cc35e0e1ecc4b0bc14a5c7b202019bb";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -5546,6 +5546,8 @@ in {
|
|||
|
||||
python-glanceclient = callPackage ../development/python-modules/python-glanceclient { };
|
||||
|
||||
python-heatclient = callPackage ../development/python-modules/python-heatclient { };
|
||||
|
||||
python-ipmi = callPackage ../development/python-modules/python-ipmi { };
|
||||
|
||||
python-izone = callPackage ../development/python-modules/python-izone { };
|
||||
|
|
Loading…
Reference in a new issue