diff options
| author | Anthony ROUSSEL <anthony@roussel.dev> | 2024-07-27 21:16:01 +0200 |
|---|---|---|
| committer | Anthony ROUSSEL <anthony@roussel.dev> | 2024-07-27 21:16:01 +0200 |
| commit | 65d7a89e6027664a039327e9be49b306f216b5ce (patch) | |
| tree | e85b34ef4f54a4a0f6fc5dcde907944a4987fb05 /pkgs/development/python-modules/python-openstackclient | |
| parent | 91f804f53fe8456c11bad3f503eff959c6c2d673 (diff) | |
python311Packages.python-openstackclient: use sphinxHook
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
| -rw-r--r-- | pkgs/development/python-modules/python-openstackclient/default.nix | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/python-openstackclient/default.nix b/pkgs/development/python-modules/python-openstackclient/default.nix index fc48197864ab..e77afb78c81b 100644 --- a/pkgs/development/python-modules/python-openstackclient/default.nix +++ b/pkgs/development/python-modules/python-openstackclient/default.nix @@ -3,7 +3,6 @@ buildPythonPackage, fetchPypi, ddt, - installShellFiles, openstackdocstheme, osc-lib, pbr, @@ -11,7 +10,7 @@ python-keystoneclient, python-novaclient, requests-mock, - sphinx, + sphinxHook, sphinxcontrib-apidoc, stestr, }: @@ -27,12 +26,13 @@ buildPythonPackage rec { }; nativeBuildInputs = [ - installShellFiles openstackdocstheme - sphinx + sphinxHook sphinxcontrib-apidoc ]; + sphinxBuilders = [ "man" ]; + propagatedBuildInputs = [ osc-lib pbr @@ -41,11 +41,6 @@ buildPythonPackage rec { python-novaclient ]; - postInstall = '' - sphinx-build -a -E -d doc/build/doctrees -b man doc/source doc/build/man - installManPage doc/build/man/openstack.1 - ''; - nativeCheckInputs = [ ddt stestr |
