Merge pull request #121461 from marsam/update-gopass
gopass: 1.12.5 -> 1.12.6
This commit is contained in:
commit
e3ad419b87
1 changed files with 9 additions and 10 deletions
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gopass";
|
pname = "gopass";
|
||||||
version = "1.12.5";
|
version = "1.12.6";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
||||||
|
|
||||||
|
@ -21,10 +21,10 @@ buildGoModule rec {
|
||||||
owner = "gopasspw";
|
owner = "gopasspw";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "06qc68q9px2g19iz23nbc4ay5dwqhgh99d1jj5l2dhb3mgknh19n";
|
sha256 = "17y9indpgqqx261bqvckfqq1q2zciahssaalaa5c5hb6bnw5ls52";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "1jir1lb60p86fmk5sh92ywchqva59c31g1badlq9pjgd7jip5vnl";
|
vendorSha256 = "106rn0bkvzf2fw21f6wpiya88ysj8sfc2zkkm47iqr23d2202i4b";
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
|
@ -41,19 +41,18 @@ buildGoModule rec {
|
||||||
);
|
);
|
||||||
|
|
||||||
postInstall = ''
|
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
|
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 ''
|
'' + lib.optionalString passAlias ''
|
||||||
ln -s $out/bin/gopass $out/bin/pass
|
ln -s $out/bin/gopass $out/bin/pass
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapProgram $out/bin/gopass --prefix PATH : "${wrapperPath}"
|
wrapProgram $out/bin/gopass \
|
||||||
|
--prefix PATH : "${wrapperPath}" \
|
||||||
|
--set GOPASS_NO_REMINDER true
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue