Mario Rodas 2024-03-17 04:20:00 +00:00
parent a83164315e
commit 7da40c8560
2 changed files with 15 additions and 4 deletions

View File

@ -2,21 +2,30 @@
, makeWrapper
, buildGoModule
, fetchFromGitHub
, fetchpatch
, gopass
}:
buildGoModule rec {
pname = "gopass-hibp";
version = "1.15.11";
version = "1.15.12";
src = fetchFromGitHub {
owner = "gopasspw";
repo = "gopass-hibp";
rev = "v${version}";
hash = "sha256-2XhvUIa8RxQ6CAKPGpL8/rBiJSX/WsSGtIpaHLIBM1E=";
hash = "sha256-5BnCaxF2XZ4f26KsTbapcZ2+Ii58nR/14pCj0c0QLKE=";
};
vendorHash = "sha256-i9PUqircNf+jz5gcr3rVIR4tD9/bkV2h6LiDFhjiLaw=";
patches = [
# go mod tidy. Remove with next release
(fetchpatch {
url = "https://github.com/gopasspw/gopass-hibp/commit/cdfdbc6da154874c74d7c8fc83bb11a98dd8fd81.patch";
hash = "sha256-jCzg3c8EizhoRYvWUZCys6/q2ChVWy/psPofNGIYdxs=";
})
];
vendorHash = "sha256-GLqtwUg3fa1okdPoQBkF+ygpm8GLmDyIyUiC7/TTTaE=";
subPackages = [ "." ];

View File

@ -4030,7 +4030,9 @@ with pkgs;
buildGoModule = buildGo122Module;
};
gopass-hibp = callPackage ../tools/security/gopass/hibp.nix { };
gopass-hibp = callPackage ../tools/security/gopass/hibp.nix {
buildGoModule = buildGo122Module;
};
gopass-jsonapi = callPackage ../tools/security/gopass/jsonapi.nix { };