Merge pull request #85521 from rvolosatovs/feature/gopass-alias
gopass: Add passAlias parameter to derivation
This commit is contained in:
commit
40e863aeb3
@ -1,4 +1,11 @@
|
|||||||
{ stdenv, buildGoModule, fetchFromGitHub, git, gnupg, xclip, wl-clipboard, installShellFiles, makeWrapper }:
|
{ stdenv, makeWrapper
|
||||||
|
, buildGoModule, fetchFromGitHub, installShellFiles
|
||||||
|
, git
|
||||||
|
, gnupg
|
||||||
|
, xclip
|
||||||
|
, wl-clipboard
|
||||||
|
, passAlias ? false
|
||||||
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gopass";
|
pname = "gopass";
|
||||||
@ -28,6 +35,8 @@ buildGoModule rec {
|
|||||||
$out/bin/gopass completion $shell > gopass.$shell
|
$out/bin/gopass completion $shell > gopass.$shell
|
||||||
installShellCompletion gopass.$shell
|
installShellCompletion gopass.$shell
|
||||||
done
|
done
|
||||||
|
'' + stdenv.lib.optionalString passAlias ''
|
||||||
|
ln -s $bin/bin/gopass $bin/bin/pass
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
@ -39,7 +48,7 @@ buildGoModule rec {
|
|||||||
description = "The slightly more awesome Standard Unix Password Manager for Teams. Written in Go.";
|
description = "The slightly more awesome Standard Unix Password Manager for Teams. Written in Go.";
|
||||||
homepage = "https://www.gopass.pw/";
|
homepage = "https://www.gopass.pw/";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ andir ];
|
maintainers = with maintainers; [ andir rvolosatovs ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user