summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient
diff options
context:
space:
mode:
authorRobert Schütz <mail@dotlambda.de>2024-09-28 22:35:45 -0700
committerRobert Schütz <mail@dotlambda.de>2024-09-29 20:37:23 -0700
commit543781083afffe71d6250862eb494c244355fa11 (patch)
treec31824a308c43963e1573d9b39673965a06c727b /pkgs/development/python-modules/python-openstackclient
parent8637e879e425363b14aa23f3ec1f69e32c9f512f (diff)
treewide: replace passthru.optional-dependencies with optional-dependencies
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
-rw-r--r--pkgs/development/python-modules/python-openstackclient/default.nix37
1 files changed, 19 insertions, 18 deletions
diff --git a/pkgs/development/python-modules/python-openstackclient/default.nix b/pkgs/development/python-modules/python-openstackclient/default.nix
index c82331304a0f..3fa1de5b4e21 100644
--- a/pkgs/development/python-modules/python-openstackclient/default.nix
+++ b/pkgs/development/python-modules/python-openstackclient/default.nix
@@ -72,25 +72,26 @@ buildPythonPackage rec {
pythonImportsCheck = [ "openstackclient" ];
+ optional-dependencies = {
+ # See https://github.com/openstack/python-openstackclient/blob/master/doc/source/contributor/plugins.rst
+ cli-plugins = [
+ osc-placement
+ python-aodhclient
+ python-barbicanclient
+ python-designateclient
+ python-heatclient
+ python-ironicclient
+ python-magnumclient
+ python-manilaclient
+ python-mistralclient
+ python-neutronclient
+ python-watcherclient
+ python-zaqarclient
+ python-zunclient
+ ];
+ };
+
passthru = {
- optional-dependencies = {
- # See https://github.com/openstack/python-openstackclient/blob/master/doc/source/contributor/plugins.rst
- cli-plugins = [
- osc-placement
- python-aodhclient
- python-barbicanclient
- python-designateclient
- python-heatclient
- python-ironicclient
- python-magnumclient
- python-manilaclient
- python-mistralclient
- python-neutronclient
- python-watcherclient
- python-zaqarclient
- python-zunclient
- ];
- };
tests.version = testers.testVersion {
package = python-openstackclient;
command = "openstack --version";