Merge pull request #110416 from tnias/usbguard_shell_completions_pr

usbguard: install shell completion
master
Sandro 2021-01-22 09:28:57 +01:00 committed by GitHub
commit 03c4d242e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,7 @@
, lib
, fetchFromGitHub
, autoreconfHook
, installShellFiles
, asciidoc
, pkg-config
, libxslt
@ -35,6 +36,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
autoreconfHook
installShellFiles
asciidoc
pkg-config
libxslt # xsltproc
@ -66,6 +68,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postInstall = ''
installShellCompletion --bash --name usbguard.bash scripts/bash_completion/usbguard
installShellCompletion --zsh --name _usbguard scripts/usbguard-zsh-completion
'';
meta = with lib; {
description = "The USBGuard software framework helps to protect your computer against BadUSB";
longDescription = ''