summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2024-07-29 13:38:54 +0200
committerGitHub <noreply@github.com>2024-07-29 13:38:54 +0200
commit6d16721c61eee4becc0d69e1b2ea8deda4e58aec (patch)
tree84a5518aff0e12c24dd4723260c7c1ef075fce95 /pkgs/development/python-modules/python-openstackclient
parent56d654d41f19e1605b835ef5df97b203846015a8 (diff)
parenta1e38ef32c8f315f143bb7f80c8ecc13eb839b21 (diff)
Merge pull request #330474 from anthonyroussel/openstack-full
openstackclient-full: init
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
-rw-r--r--pkgs/development/python-modules/python-openstackclient/default.nix26
1 files changed, 25 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/python-openstackclient/default.nix b/pkgs/development/python-modules/python-openstackclient/default.nix
index 50aa590d6b6a..e3dd953e93b0 100644
--- a/pkgs/development/python-modules/python-openstackclient/default.nix
+++ b/pkgs/development/python-modules/python-openstackclient/default.nix
@@ -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";