aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/security/gopass/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/security/gopass/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/security/gopass/default.nix45
1 files changed, 27 insertions, 18 deletions
diff --git a/nixpkgs/pkgs/tools/security/gopass/default.nix b/nixpkgs/pkgs/tools/security/gopass/default.nix
index 6b9042e5691..15ad1c70a8d 100644
--- a/nixpkgs/pkgs/tools/security/gopass/default.nix
+++ b/nixpkgs/pkgs/tools/security/gopass/default.nix
@@ -1,5 +1,8 @@
-{ stdenv, makeWrapper
-, buildGoModule, fetchFromGitHub, installShellFiles
+{ stdenv
+, makeWrapper
+, buildGoModule
+, fetchFromGitHub
+, installShellFiles
, git
, gnupg
, xclip
@@ -9,7 +12,7 @@
buildGoModule rec {
pname = "gopass";
- version = "1.9.2";
+ version = "1.10.1";
nativeBuildInputs = [ installShellFiles makeWrapper ];
@@ -17,18 +20,22 @@ buildGoModule rec {
owner = "gopasspw";
repo = pname;
rev = "v${version}";
- sha256 = "066dphw8xq0g72kj64sdai2yyllnr6ca27bfy5sxhk8x69j97rvz";
+ sha256 = "0dhh64mxfhk610wr7bpakzgmc4a4iyhfkkl3qhjp6a46g9iygana";
};
- vendorSha256 = "1wn20bh7ma4pblsf6qnlbz5bx4p9apig3d1yz7cpsqv4z3w07baw";
+ vendorSha256 = "07wv6yahx4yzr3h1x93x4r5rvw8wbfk836f04b4r9xjbnpq7lb2a";
+
+ doCheck = false;
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version} -X main.commit=${src.rev}" ];
- wrapperPath = stdenv.lib.makeBinPath ([
- git
- gnupg
- xclip
- ] ++ stdenv.lib.optional stdenv.isLinux wl-clipboard);
+ wrapperPath = stdenv.lib.makeBinPath (
+ [
+ git
+ gnupg
+ xclip
+ ] ++ stdenv.lib.optional stdenv.isLinux wl-clipboard
+ );
postInstall = ''
for shell in bash fish zsh; do
@@ -40,16 +47,18 @@ buildGoModule rec {
'';
postFixup = ''
- wrapProgram $out/bin/gopass \
- --prefix PATH : "${wrapperPath}"
+ for bin in $out/bin/*; do
+ wrapProgram $bin \
+ --prefix PATH : "${wrapperPath}"
+ done
'';
meta = with stdenv.lib; {
- description = "The slightly more awesome Standard Unix Password Manager for Teams. Written in Go.";
- homepage = "https://www.gopass.pw/";
- license = licenses.mit;
- maintainers = with maintainers; [ andir rvolosatovs ];
- platforms = platforms.unix;
+ description = "The slightly more awesome Standard Unix Password Manager for Teams. Written in Go.";
+ homepage = "https://www.gopass.pw/";
+ license = licenses.mit;
+ maintainers = with maintainers; [ andir rvolosatovs ];
+ platforms = platforms.unix;
longDescription = ''
gopass is a rewrite of the pass password manager in Go with the aim of
@@ -61,4 +70,4 @@ buildGoModule rec {
well, providing a stellar user experience and a sane, simple interface.
'';
};
-} \ No newline at end of file
+}