borgbackup: migrate to sphinxHook
This commit is contained in:
parent
8a26deba06
commit
5a852f4085
@ -33,13 +33,15 @@ python3.pkgs.buildPythonApplication rec {
|
||||
setuptools-scm
|
||||
|
||||
# docs
|
||||
sphinx
|
||||
sphinxHook
|
||||
guzzle_sphinx_theme
|
||||
|
||||
# shell completions
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
sphinxBuilders = [ "singlehtml" "man" ];
|
||||
|
||||
buildInputs = [
|
||||
libb2
|
||||
lz4
|
||||
@ -67,14 +69,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
make -C docs singlehtml
|
||||
mkdir -p $out/share/doc/borg
|
||||
cp -R docs/_build/singlehtml $out/share/doc/borg/html
|
||||
|
||||
make -C docs man
|
||||
mkdir -p $out/share/man
|
||||
cp -R docs/_build/man $out/share/man/man1
|
||||
|
||||
installShellCompletion --cmd borg \
|
||||
--bash scripts/shell_completions/bash/borg \
|
||||
--fish scripts/shell_completions/fish/borg.fish \
|
||||
|
Loading…
Reference in New Issue
Block a user