diff options
| author | K900 <me@0upti.me> | 2024-07-31 08:57:17 +0300 |
|---|---|---|
| committer | K900 <me@0upti.me> | 2024-07-31 08:57:17 +0300 |
| commit | 4f29b5a16b9ad8dc4289d6183eb39012cf156671 (patch) | |
| tree | 1692f96b8f51159ae500fa5cc150f4ab9779d285 /pkgs/development/python-modules/python-openstackclient | |
| parent | 2c0bb9fe8af0b6aa92a344526592ceda999682d1 (diff) | |
| parent | 1d8103b2a404ce6028a1871b01cefbe8fb0d0564 (diff) | |
Merge remote-tracking branch 'origin/staging-next' into staging
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"; |
