From 91f804f53fe8456c11bad3f503eff959c6c2d673 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 20:57:18 +0200 Subject: [PATCH] python311Packages.python-manilaclient: use sphinxHook --- .../python-modules/python-manilaclient/default.nix | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/python-manilaclient/default.nix b/pkgs/development/python-modules/python-manilaclient/default.nix index c3256d0d5447..a0bac66c204a 100644 --- a/pkgs/development/python-modules/python-manilaclient/default.nix +++ b/pkgs/development/python-modules/python-manilaclient/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchPypi, - installShellFiles, pbr, openstackdocstheme, oslo-config, @@ -12,7 +11,7 @@ prettytable, requests, simplejson, - sphinx, + sphinxHook, sphinxcontrib-programoutput, babel, osc-lib, @@ -32,12 +31,13 @@ buildPythonPackage rec { }; nativeBuildInputs = [ - installShellFiles openstackdocstheme - sphinx + sphinxHook sphinxcontrib-programoutput ]; + sphinxBuilders = [ "man" ]; + propagatedBuildInputs = [ pbr oslo-config @@ -53,12 +53,6 @@ buildPythonPackage rec { debtcollector ]; - postInstall = '' - export PATH=$out/bin:$PATH - sphinx-build -a -E -d doc/build/doctrees -b man doc/source doc/build/man - installManPage doc/build/man/python-manilaclient.1 - ''; - # Checks moved to 'passthru.tests' to workaround infinite recursion doCheck = false;