2020-03-27 07:33:21 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2019-07-22 15:19:15 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lnd";
|
2020-04-29 00:16:20 +00:00
|
|
|
version = "0.9.2-beta";
|
2019-07-22 15:19:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lightningnetwork";
|
|
|
|
repo = "lnd";
|
|
|
|
rev = "v${version}";
|
2020-04-29 00:16:20 +00:00
|
|
|
sha256 = "0gm33z89fiqv231ks2mkpsblskcsijipq8fcmip6m6jy8g06b1gb";
|
2019-07-22 15:19:15 +00:00
|
|
|
};
|
|
|
|
|
2020-04-29 00:16:20 +00:00
|
|
|
modSha256 = "1khxplvyaqgaddrx1nna1fw0nb1xz9bmqpxpfifif4f5nmx90gbr";
|
|
|
|
|
|
|
|
subPackages = ["cmd/lncli" "cmd/lnd"];
|
2019-07-22 15:19:15 +00:00
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-07-22 15:19:15 +00:00
|
|
|
description = "Lightning Network Daemon";
|
|
|
|
homepage = "https://github.com/lightningnetwork/lnd";
|
2020-03-27 07:33:21 +00:00
|
|
|
license = lib.licenses.mit;
|
2019-07-22 15:19:15 +00:00
|
|
|
maintainers = with maintainers; [ cypherpunk2140 ];
|
|
|
|
};
|
|
|
|
}
|