Merge pull request #330474 from anthonyroussel/openstack-full

openstackclient-full: init
This commit is contained in:
Sandro
2024-07-29 13:38:54 +02:00
committed by GitHub
2 changed files with 28 additions and 1 deletions
@@ -6,14 +6,21 @@
openstackdocstheme,
osc-lib,
pbr,
python-barbicanclient,
python-cinderclient,
python-designateclient,
python-heatclient,
python-ironicclient,
python-keystoneclient,
python-manilaclient,
python-novaclient,
python-openstackclient,
requests-mock,
setuptools,
sphinxHook,
sphinxcontrib-apidoc,
stestr,
testers,
}:
buildPythonPackage rec {
@@ -45,8 +52,8 @@ buildPythonPackage rec {
nativeCheckInputs = [
ddt
stestr
requests-mock
stestr
];
checkPhase = ''
@@ -57,6 +64,23 @@ buildPythonPackage rec {
pythonImportsCheck = [ "openstackclient" ];
passthru = {
optional-dependencies = {
# See https://github.com/openstack/python-openstackclient/blob/master/doc/source/contributor/plugins.rst
cli-plugins = [
python-barbicanclient
python-designateclient
python-heatclient
python-ironicclient
python-manilaclient
];
};
tests.version = testers.testVersion {
package = python-openstackclient;
command = "openstack --version";
};
};
meta = with lib; {
description = "OpenStack Command-line Client";
mainProgram = "openstack";
+3
View File
@@ -23337,6 +23337,9 @@ with pkgs;
openslp = callPackage ../development/libraries/openslp { };
openstackclient = with python311Packages; toPythonApplication python-openstackclient;
openstackclient-full = openstackclient.overridePythonAttrs (oldAttrs: {
dependencies = oldAttrs.dependencies ++ oldAttrs.passthru.optional-dependencies.cli-plugins;
});
barbicanclient = with python311Packages; toPythonApplication python-barbicanclient;
glanceclient = with python311Packages; toPythonApplication python-glanceclient;
heatclient = with python311Packages; toPythonApplication python-heatclient;