Merge pull request #121461 from marsam/update-gopass

gopass: 1.12.5 -> 1.12.6
master
Andreas Rammhold 2021-05-02 20:11:54 +02:00 committed by GitHub
commit e3ad419b87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 10 deletions

View File

@ -13,7 +13,7 @@
buildGoModule rec {
pname = "gopass";
version = "1.12.5";
version = "1.12.6";
nativeBuildInputs = [ installShellFiles makeWrapper ];
@ -21,10 +21,10 @@ buildGoModule rec {
owner = "gopasspw";
repo = pname;
rev = "v${version}";
sha256 = "06qc68q9px2g19iz23nbc4ay5dwqhgh99d1jj5l2dhb3mgknh19n";
sha256 = "17y9indpgqqx261bqvckfqq1q2zciahssaalaa5c5hb6bnw5ls52";
};
vendorSha256 = "1jir1lb60p86fmk5sh92ywchqva59c31g1badlq9pjgd7jip5vnl";
vendorSha256 = "106rn0bkvzf2fw21f6wpiya88ysj8sfc2zkkm47iqr23d2202i4b";
subPackages = [ "." ];
@ -41,19 +41,18 @@ buildGoModule rec {
);
postInstall = ''
HOME=$TMPDIR
for shell in bash fish zsh; do
$out/bin/gopass completion $shell > gopass.$shell
installShellCompletion gopass.$shell
done
go run helpers/man/main.go > gopass.1
installManPage gopass.1
installShellCompletion --zsh --name _gopass zsh.completion
installShellCompletion --bash --name gopass.bash bash.completion
installShellCompletion --fish --name gopass.fish fish.completion
'' + lib.optionalString passAlias ''
ln -s $out/bin/gopass $out/bin/pass
'';
postFixup = ''
wrapProgram $out/bin/gopass --prefix PATH : "${wrapperPath}"
wrapProgram $out/bin/gopass \
--prefix PATH : "${wrapperPath}" \
--set GOPASS_NO_REMINDER true
'';
meta = with lib; {