python39Packages.python-openstackclient: init at 5.6.0

This commit is contained in:
Sandro Jäckel 2021-09-11 12:17:39 +02:00
parent 1c8b1984e8
commit 7b4c9f880f
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
3 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, fetchPypi
, ddt
, osc-lib
, pbr
, python-cinderclient
, python-keystoneclient
, python-novaclient
, requests-mock
, stestr
}:
buildPythonPackage rec {
pname = "python-openstackclient";
version = "5.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "0abc6666378c5a7db83ec83515a8524fb6246a919236110169cc5c216ac997ea";
};
propagatedBuildInputs = [
osc-lib
pbr
python-cinderclient
python-keystoneclient
python-novaclient
];
checkInputs = [
ddt
stestr
requests-mock
];
checkPhase = ''
stestr run
'';
pythonImportsCheck = [ "openstackclient" ];
meta = with lib; {
description = "OpenStack Command-line Client";
homepage = "https://github.com/openstack/python-openstackclient";
license = licenses.asl20;
maintainers = teams.openstack.members;
};
}

View File

@ -18206,6 +18206,8 @@ with pkgs;
openslp = callPackage ../development/libraries/openslp {};
openstackclient = with python3Packages; toPythonApplication python-openstackclient;
openvdb = callPackage ../development/libraries/openvdb {};
inherit (callPackages ../development/libraries/libressl { })

View File

@ -7279,6 +7279,8 @@ in {
python-opendata-transport = callPackage ../development/python-modules/python-opendata-transport { };
python-openstackclient = callPackage ../development/python-modules/python-openstackclient { };
python_openzwave = callPackage ../development/python-modules/python_openzwave { };
python-packer = callPackage ../development/python-modules/python-packer { };