mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
python39Packages.python-manilaclient: install man page
This commit is contained in:
parent
2de8df4eb8
commit
e43c696540
1 changed files with 17 additions and 0 deletions
|
@ -1,7 +1,9 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonApplication
|
, buildPythonApplication
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, installShellFiles
|
||||||
, pbr
|
, pbr
|
||||||
|
, openstackdocstheme
|
||||||
, oslo-config
|
, oslo-config
|
||||||
, oslo-log
|
, oslo-log
|
||||||
, oslo-serialization
|
, oslo-serialization
|
||||||
|
@ -9,6 +11,8 @@
|
||||||
, prettytable
|
, prettytable
|
||||||
, requests
|
, requests
|
||||||
, simplejson
|
, simplejson
|
||||||
|
, sphinx
|
||||||
|
, sphinxcontrib-programoutput
|
||||||
, Babel
|
, Babel
|
||||||
, osc-lib
|
, osc-lib
|
||||||
, python-keystoneclient
|
, python-keystoneclient
|
||||||
|
@ -25,6 +29,13 @@ buildPythonApplication rec {
|
||||||
sha256 = "sha256-6iAed0mtEYHguYq4Rlh4YWT8E5hNqBYPcnG9/8RMspo=";
|
sha256 = "sha256-6iAed0mtEYHguYq4Rlh4YWT8E5hNqBYPcnG9/8RMspo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
installShellFiles
|
||||||
|
openstackdocstheme
|
||||||
|
sphinx
|
||||||
|
sphinxcontrib-programoutput
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pbr
|
pbr
|
||||||
oslo-config
|
oslo-config
|
||||||
|
@ -40,6 +51,12 @@ buildPythonApplication rec {
|
||||||
debtcollector
|
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
|
# Checks moved to 'passthru.tests' to workaround infinite recursion
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue