diff options
| author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-07-29 12:01:29 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-29 12:01:29 +0000 |
| commit | cb99e21b80ceb545606df952a60883bcf9cda6c9 (patch) | |
| tree | 9c13acd27617aaea1be2759cd1652cae7f0435c7 /pkgs/development/python-modules/python-openstackclient | |
| parent | 49c87f22b25235b4736fdd68939f7c6dd7cfd043 (diff) | |
| parent | 2bba36f6dfecfdb9e5b56a5996889f1faae6fd0c (diff) | |
Merge master into staging-next
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"; |
