9 pname = "gopass-summon-provider";
12 src = fetchFromGitHub {
14 repo = "gopass-summon-provider";
16 hash = "sha256-L/wX3qUrx6YfA6flCJ32WyEiBV0dSwAGdWQCU++/Iz8=";
19 vendorHash = "sha256-ZNHAjFzMMxodxb/AGVq8q+sP36qR5+8eaKdmmjIaMjs=";
21 subPackages = [ "." ];
23 nativeBuildInputs = [ makeWrapper ];
26 "-s" "-w" "-X main.version=${version}" "-X main.commit=${src.rev}"
30 wrapProgram $out/bin/gopass-summon-provider \
31 --prefix PATH : "${lib.makeBinPath [ gopass ]}"
35 description = "Gopass Summon Provider";
36 homepage = "https://github.com/gopasspw/gopass-summon-provider";
37 changelog = "https://github.com/gopasspw/gopass-summon-provider/blob/v${version}/CHANGELOG.md";
38 license = licenses.mit;
39 maintainers = with maintainers; [ sikmir ];
40 mainProgram = "gopass-summon-provider";