mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
borgbackup: install shell completions
This commit is contained in:
parent
836be60200
commit
bb07e8903d
@ -44,11 +44,20 @@ python3Packages.buildPythonApplication rec {
|
||||
make -C docs man
|
||||
mkdir -p $out/share/man
|
||||
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; {
|
||||
description = "A deduplicating backup program (attic fork)";
|
||||
homepage = https://borgbackup.github.io/;
|
||||
homepage = https://www.borgbackup.org;
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix; # Darwin and FreeBSD mentioned on homepage
|
||||
maintainers = with maintainers; [ flokli ];
|
||||
|
Loading…
Reference in New Issue
Block a user