gopass: 1.9.2 -> 1.10.1

This commit is contained in:
Eduardo Quiros 2020-08-27 17:16:07 -06:00
parent 6daeaf26e4
commit 3416c08939
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4

View File

@ -1,5 +1,8 @@
{ stdenv, makeWrapper { stdenv
, buildGoModule, fetchFromGitHub, installShellFiles , makeWrapper
, buildGoModule
, fetchFromGitHub
, installShellFiles
, git , git
, gnupg , gnupg
, xclip , xclip
@ -9,7 +12,7 @@
buildGoModule rec { buildGoModule rec {
pname = "gopass"; pname = "gopass";
version = "1.9.2"; version = "1.10.1";
nativeBuildInputs = [ installShellFiles makeWrapper ]; nativeBuildInputs = [ installShellFiles makeWrapper ];
@ -17,20 +20,22 @@ buildGoModule rec {
owner = "gopasspw"; owner = "gopasspw";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "066dphw8xq0g72kj64sdai2yyllnr6ca27bfy5sxhk8x69j97rvz"; sha256 = "0dhh64mxfhk610wr7bpakzgmc4a4iyhfkkl3qhjp6a46g9iygana";
}; };
vendorSha256 = "1wn20bh7ma4pblsf6qnlbz5bx4p9apig3d1yz7cpsqv4z3w07baw"; vendorSha256 = "07wv6yahx4yzr3h1x93x4r5rvw8wbfk836f04b4r9xjbnpq7lb2a";
doCheck = false; doCheck = false;
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version} -X main.commit=${src.rev}" ]; buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version} -X main.commit=${src.rev}" ];
wrapperPath = stdenv.lib.makeBinPath ([ wrapperPath = stdenv.lib.makeBinPath (
git [
gnupg git
xclip gnupg
] ++ stdenv.lib.optional stdenv.isLinux wl-clipboard); xclip
] ++ stdenv.lib.optional stdenv.isLinux wl-clipboard
);
postInstall = '' postInstall = ''
for shell in bash fish zsh; do for shell in bash fish zsh; do
@ -47,11 +52,11 @@ buildGoModule rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
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 rvolosatovs ]; maintainers = with maintainers; [ andir rvolosatovs ];
platforms = platforms.unix; platforms = platforms.unix;
longDescription = '' longDescription = ''
gopass is a rewrite of the pass password manager in Go with the aim of gopass is a rewrite of the pass password manager in Go with the aim of