python39Packages.python-manilaclient: install man page

main
Sandro Jäckel 2 years ago
parent 2de8df4eb8
commit e43c696540
No known key found for this signature in database
GPG Key ID: B1763F8651144063
  1. 17
      pkgs/development/python-modules/python-manilaclient/default.nix

@ -1,7 +1,9 @@
{ lib
, buildPythonApplication
, fetchPypi
, installShellFiles
, pbr
, openstackdocstheme
, oslo-config
, oslo-log
, oslo-serialization
@ -9,6 +11,8 @@
, prettytable
, requests
, simplejson
, sphinx
, sphinxcontrib-programoutput
, Babel
, osc-lib
, python-keystoneclient
@ -25,6 +29,13 @@ buildPythonApplication rec {
sha256 = "sha256-6iAed0mtEYHguYq4Rlh4YWT8E5hNqBYPcnG9/8RMspo=";
};
nativeBuildInputs = [
installShellFiles
openstackdocstheme
sphinx
sphinxcontrib-programoutput
];
propagatedBuildInputs = [
pbr
oslo-config
@ -40,6 +51,12 @@ buildPythonApplication 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;

Loading…
Cancel
Save