diff options
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
| -rw-r--r-- | pkgs/development/python-modules/python-openstackclient/default.nix | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/python-openstackclient/default.nix b/pkgs/development/python-modules/python-openstackclient/default.nix index 7460aab4dbbc..e3dd953e93b0 100644 --- a/pkgs/development/python-modules/python-openstackclient/default.nix +++ b/pkgs/development/python-modules/python-openstackclient/default.nix @@ -14,11 +14,13 @@ python-keystoneclient, python-manilaclient, python-novaclient, + python-openstackclient, requests-mock, setuptools, sphinxHook, sphinxcontrib-apidoc, stestr, + testers, }: buildPythonPackage rec { @@ -62,15 +64,21 @@ 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 - ]; + 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; { |
