10 pname = "gopass-jsonapi";
13 src = fetchFromGitHub {
15 repo = "gopass-jsonapi";
17 hash = "sha256-DbfmjgIUqgWVYyPqkcaeE5JKzqElNbrGnx62Fd8v7Hg=";
20 vendorHash = "sha256-Aahu0afi6bPnvz/NSZznbp0y9vMJWDj1Bq7tWGRmm7g=";
22 subPackages = [ "." ];
24 nativeBuildInputs = [ installShellFiles makeWrapper ];
27 "-s" "-w" "-X main.version=${version}" "-X main.commit=${src.rev}"
31 wrapProgram $out/bin/gopass-jsonapi \
32 --prefix PATH : "${gopass.wrapperPath}"
36 description = "Enables communication with gopass via JSON messages";
37 homepage = "https://github.com/gopasspw/gopass-jsonapi";
38 changelog = "https://github.com/gopasspw/gopass-jsonapi/blob/v${version}/CHANGELOG.md";
39 license = licenses.mit;
40 maintainers = with maintainers; [ maxhbr ];
41 mainProgram = "gopass-jsonapi";