python3Packages.python-novaclient: init at 17.5.0
This commit is contained in:
parent
01a6eec3a2
commit
ef2939ac37
2 changed files with 60 additions and 0 deletions
|
@ -0,0 +1,58 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, ddt
|
||||||
|
, iso8601
|
||||||
|
, keystoneauth1
|
||||||
|
, openssl
|
||||||
|
, oslo-i18n
|
||||||
|
, oslo-serialization
|
||||||
|
, pbr
|
||||||
|
, prettytable
|
||||||
|
, requests-mock
|
||||||
|
, stestr
|
||||||
|
, testscenarios
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-novaclient";
|
||||||
|
version = "17.6.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "sha256-yRDCCFMQ2mNfs0NYXxBwcS/w+cs8j3nUTKPWMsTyMPU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
iso8601
|
||||||
|
keystoneauth1
|
||||||
|
oslo-i18n
|
||||||
|
oslo-serialization
|
||||||
|
pbr
|
||||||
|
prettytable
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
ddt
|
||||||
|
openssl
|
||||||
|
requests-mock
|
||||||
|
stestr
|
||||||
|
testscenarios
|
||||||
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
stestr run -e <(echo "
|
||||||
|
novaclient.tests.unit.test_shell.ShellTest.test_osprofiler
|
||||||
|
novaclient.tests.unit.test_shell.ShellTestKeystoneV3.test_osprofiler
|
||||||
|
")
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "novaclient" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Client library for OpenStack Compute API";
|
||||||
|
homepage = "https://github.com/openstack/python-novaclient";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = teams.openstack.members;
|
||||||
|
};
|
||||||
|
}
|
|
@ -7240,6 +7240,8 @@ in {
|
||||||
|
|
||||||
python-nomad = callPackage ../development/python-modules/python-nomad { };
|
python-nomad = callPackage ../development/python-modules/python-nomad { };
|
||||||
|
|
||||||
|
python-novaclient = callPackage ../development/python-modules/python-novaclient { };
|
||||||
|
|
||||||
python-oauth2 = callPackage ../development/python-modules/python-oauth2 { };
|
python-oauth2 = callPackage ../development/python-modules/python-oauth2 { };
|
||||||
|
|
||||||
pythonocc-core = toPythonModule (callPackage ../development/python-modules/pythonocc-core {
|
pythonocc-core = toPythonModule (callPackage ../development/python-modules/pythonocc-core {
|
||||||
|
|
Loading…
Reference in a new issue