gopass-jsonapi: Use the same gopass' wrapper dependencies
This commit is contained in:
parent
a80835a2b0
commit
0fd8c4fc72
2 changed files with 11 additions and 1 deletions
|
@ -53,6 +53,9 @@ buildGoModule rec {
|
|||
--prefix PATH : "${wrapperPath}" \
|
||||
--set GOPASS_NO_REMINDER true
|
||||
'';
|
||||
passthru = {
|
||||
inherit wrapperPath;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "The slightly more awesome Standard Unix Password Manager for Teams. Written in Go";
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{ lib
|
||||
, makeWrapper
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, gopass
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
|
@ -19,12 +21,17 @@ buildGoModule rec {
|
|||
|
||||
subPackages = [ "." ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
||||
|
||||
ldflags = [
|
||||
"-s" "-w" "-X main.version=${version}" "-X main.commit=${src.rev}"
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/gopass-jsonapi \
|
||||
--prefix PATH : "${gopass.wrapperPath}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Enables communication with gopass via JSON messages";
|
||||
homepage = "https://www.gopass.pw/";
|
||||
|
|
Loading…
Reference in a new issue