borgbackup: install shell completions
This commit is contained in:
parent
836be60200
commit
bb07e8903d
@ -44,11 +44,20 @@ python3Packages.buildPythonApplication rec {
|
|||||||
make -C docs man
|
make -C docs man
|
||||||
mkdir -p $out/share/man
|
mkdir -p $out/share/man
|
||||||
cp -R docs/_build/man $out/share/man/man1
|
cp -R docs/_build/man $out/share/man/man1
|
||||||
|
|
||||||
|
mkdir -p $out/share/bash-completion/completions
|
||||||
|
cp scripts/shell_completions/bash/borg $out/share/bash-completion/completions/
|
||||||
|
|
||||||
|
mkdir -p $out/share/fish/vendor_completions.d
|
||||||
|
cp scripts/shell_completions/fish/borg.fish $out/share/fish/vendor_completions.d/
|
||||||
|
|
||||||
|
mkdir -p $out/share/zsh/site-functions
|
||||||
|
cp scripts/shell_completions/zsh/_borg $out/share/zsh/site-functions/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A deduplicating backup program (attic fork)";
|
description = "A deduplicating backup program (attic fork)";
|
||||||
homepage = https://borgbackup.github.io/;
|
homepage = https://www.borgbackup.org;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
platforms = platforms.unix; # Darwin and FreeBSD mentioned on homepage
|
platforms = platforms.unix; # Darwin and FreeBSD mentioned on homepage
|
||||||
maintainers = with maintainers; [ flokli ];
|
maintainers = with maintainers; [ flokli ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user