2022-07-14 12:49:19 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, lndconnect }:
|
2022-06-16 17:23:12 +00:00
|
|
|
buildGoModule rec {
|
2021-01-09 10:05:03 +00:00
|
|
|
pname = "lndconnect";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "0.2.1";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LN-Zap";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256-cuZkVeFUQq7+kQo/YjXCMPANUL5QooAWgegcoWo3M0c=";
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
vendorSha256 = "sha256-iE0nht3PH2R9pTyyrySk759untC7snGt3wTXk4/pjrU=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Generate QRCode to connect apps to lnd Resources";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "https://github.com/LN-Zap/lndconnect";
|
2021-08-08 23:34:03 +00:00
|
|
|
maintainers = [ maintainers.d-xo ];
|
2021-01-09 10:05:03 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|