mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
python39Packages.python-manilaclient: install man page
This commit is contained in:
parent
2de8df4eb8
commit
e43c696540
@ -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…
Reference in New Issue
Block a user