12 src = fetchFromGitHub {
16 hash = "sha256-WRYDfz8BK3jJx/XaE9pBd6SvPruwc+tKMWsAv58LXY8=";
19 vendorHash = "sha256-0Iw1MPKSI0Xon5EarndLJX0aYUJvSu/xeTKAopEIPSw=";
21 subPackages = [ "." ];
23 nativeBuildInputs = [ makeWrapper ];
26 "-s" "-w" "-X main.version=${version}" "-X main.commit=${src.rev}"
30 wrapProgram $out/bin/gopass-hibp \
31 --prefix PATH : "${lib.makeBinPath [ gopass ]}"
35 description = "Gopass haveibeenpwnd.com integration";
36 homepage = "https://github.com/gopasspw/gopass-hibp";
37 changelog = "https://github.com/gopasspw/gopass-hibp/blob/v${version}/CHANGELOG.md";
38 license = licenses.mit;
39 maintainers = with maintainers; [ sikmir ];
40 mainProgram = "gopass-hibp";