summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
-rw-r--r--pkgs/development/python-modules/python-openstackclient/default.nix44
1 files changed, 30 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/python-openstackclient/default.nix b/pkgs/development/python-modules/python-openstackclient/default.nix
index 3f3989283f74..2933fa619b55 100644
--- a/pkgs/development/python-modules/python-openstackclient/default.nix
+++ b/pkgs/development/python-modules/python-openstackclient/default.nix
@@ -5,17 +5,24 @@
ddt,
openstackdocstheme,
osc-lib,
+ osc-placement,
pbr,
+ python-aodhclient,
python-barbicanclient,
python-cinderclient,
python-designateclient,
python-heatclient,
python-ironicclient,
python-keystoneclient,
+ python-magnumclient,
python-manilaclient,
python-mistralclient,
python-neutronclient,
python-openstackclient,
+ python-watcherclient,
+ python-zaqarclient,
+ python-zunclient,
+ pythonOlder,
requests-mock,
requests,
setuptools,
@@ -27,12 +34,14 @@
buildPythonPackage rec {
pname = "python-openstackclient";
- version = "7.0.0";
+ version = "7.2.0";
pyproject = true;
+ disabled = pythonOlder "3.9";
+
src = fetchPypi {
inherit pname version;
- hash = "sha256-1HDjWYySnZI/12j9+Gb1G9NKkb+xfrcMoTY/q7aL0uA=";
+ hash = "sha256-9je3W78PU3iZJjzVMSPXPxBZ0vMYY5xSLJA9zBJ7O5I=";
};
build-system = [
@@ -66,19 +75,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 = [
- python-barbicanclient
- python-designateclient
- python-heatclient
- python-ironicclient
- python-manilaclient
- python-mistralclient
- python-neutronclient
- ];
- };
tests.version = testers.testVersion {
package = python-openstackclient;
command = "openstack --version";