usbguard: install shell completion
This commit is contained in:
parent
afa23b8a4b
commit
de3377bff0
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user