Commit 56428440 authored by Mario Rodas's avatar Mario Rodas
Browse files
parent 4411c125
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -2,21 +2,30 @@
, makeWrapper
, buildGoModule
, fetchFromGitHub
, fetchpatch
, gopass
}:

buildGoModule rec {
  pname = "git-credential-gopass";
  version = "1.15.11";
  version = "1.15.12";

  src = fetchFromGitHub {
    owner = "gopasspw";
    repo = "git-credential-gopass";
    rev = "v${version}";
    hash = "sha256-qnWgrpcj3DZQu5haP/5xqoO7eogkRjBmc8XpgFFNT6I=";
    hash = "sha256-5j5+so4LT3x+epEZf9OVn/kLNHBk2ENQxxRrzbziEA4=";
  };

  vendorHash = "sha256-bit4+YgQ+Y/TA2q7KdZwYTE3ZKBwL6tUam+tHzBMiQw=";
  patches = [
    # go mod tidy. Remove with next release
    (fetchpatch {
      url = "https://github.com/gopasspw/git-credential-gopass/commit/88d11d2b1b49f00b7fba9a917cf90f7ea14c9d1b.patch";
      hash = "sha256-mXxI9GXan0zYL8msL83VLqxOp4oAOwMyCOFaUOLAg5E=";
    })
  ];

  vendorHash = "sha256-y1PH0+tt/kcHw2I4LWD2XfLud3JtsYqrRd/yVRPdaTA=";

  subPackages = [ "." ];

+3 −1
Original line number Diff line number Diff line
@@ -4038,7 +4038,9 @@ with pkgs;
    buildGoModule = buildGo122Module;
  };
  git-credential-gopass = callPackage ../tools/security/gopass/git-credential.nix { };
  git-credential-gopass = callPackage ../tools/security/gopass/git-credential.nix {
    buildGoModule = buildGo122Module;
  };
  gopass-summon-provider = callPackage ../tools/security/gopass/summon.nix {
    buildGoModule = buildGo122Module;