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;