2022-06-26 19:41:46 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, lndconnect }:
|
2022-04-04 04:51:18 +02:00
|
|
|
buildGoModule rec {
|
2020-09-26 18:14:44 +02:00
|
|
|
pname = "lndconnect";
|
2022-04-04 04:51:18 +02:00
|
|
|
version = "0.2.1";
|
2020-09-26 18:14:44 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LN-Zap";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-04-04 04:51:18 +02:00
|
|
|
sha256 = "sha256-cuZkVeFUQq7+kQo/YjXCMPANUL5QooAWgegcoWo3M0c=";
|
2020-09-26 18:14:44 +02:00
|
|
|
};
|
|
|
|
|
2022-04-04 04:51:18 +02:00
|
|
|
vendorSha256 = "sha256-iE0nht3PH2R9pTyyrySk759untC7snGt3wTXk4/pjrU=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
2020-09-26 18:14:44 +02: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 19:11:45 +02:00
|
|
|
maintainers = [ maintainers.d-xo ];
|
2020-09-26 18:14:44 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|