diff options
| author | Sandro <sandro.jaeckel@gmail.com> | 2024-07-29 13:38:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-29 13:38:54 +0200 |
| commit | 6d16721c61eee4becc0d69e1b2ea8deda4e58aec (patch) | |
| tree | 84a5518aff0e12c24dd4723260c7c1ef075fce95 /pkgs/development/python-modules/python-openstackclient | |
| parent | 56d654d41f19e1605b835ef5df97b203846015a8 (diff) | |
| parent | a1e38ef32c8f315f143bb7f80c8ecc13eb839b21 (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.nix | 26 |
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"; |
