Loading pkgs/development/python-modules/python-openstackclient/default.nix +11 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ buildPythonPackage, fetchFromGitHub, ddt, installShellFiles, openstackdocstheme, osc-lib, osc-placement, Loading @@ -27,6 +28,7 @@ setuptools, sphinxHook, sphinxcontrib-apidoc, stdenv, stestrCheckHook, versionCheckHook, }: Loading Loading @@ -68,6 +70,10 @@ buildPythonPackage (finalAttrs: { # to support proxy envs like ALL_PROXY in requests ++ requests.optional-dependencies.socks; nativeBuildInputs = [ installShellFiles ]; nativeCheckInputs = [ ddt requests-mock Loading Loading @@ -116,6 +122,11 @@ buildPythonPackage (finalAttrs: { ]; doInstallCheck = true; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd openstack \ --bash <($out/bin/openstack complete) ''; meta = { description = "OpenStack Command-line Client"; mainProgram = "openstack"; Loading Loading
pkgs/development/python-modules/python-openstackclient/default.nix +11 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ buildPythonPackage, fetchFromGitHub, ddt, installShellFiles, openstackdocstheme, osc-lib, osc-placement, Loading @@ -27,6 +28,7 @@ setuptools, sphinxHook, sphinxcontrib-apidoc, stdenv, stestrCheckHook, versionCheckHook, }: Loading Loading @@ -68,6 +70,10 @@ buildPythonPackage (finalAttrs: { # to support proxy envs like ALL_PROXY in requests ++ requests.optional-dependencies.socks; nativeBuildInputs = [ installShellFiles ]; nativeCheckInputs = [ ddt requests-mock Loading Loading @@ -116,6 +122,11 @@ buildPythonPackage (finalAttrs: { ]; doInstallCheck = true; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd openstack \ --bash <($out/bin/openstack complete) ''; meta = { description = "OpenStack Command-line Client"; mainProgram = "openstack"; Loading