f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
30 lines
782 B
Nix
30 lines
782 B
Nix
{ buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
, tags ? [ "autopilotrpc" "signrpc" "walletrpc" "chainrpc" "invoicesrpc" "watchtowerrpc" "routerrpc" "monitoring" "kvdb_postgres" "kvdb_etcd" ]
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "lnd";
|
|
version = "0.18.2-beta";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lightningnetwork";
|
|
repo = "lnd";
|
|
rev = "v${version}";
|
|
hash = "sha256-qqvLnJlFGeCizm6T9iUwvYLjWpAeZwbuzQlUUopwrjc=";
|
|
};
|
|
|
|
vendorHash = "sha256-BxNtZzwmKJ/kZk7ndtEUC4bMGpd8LEhFFu4Z49bKydE=";
|
|
|
|
subPackages = [ "cmd/lncli" "cmd/lnd" ];
|
|
|
|
inherit tags;
|
|
|
|
meta = with lib; {
|
|
description = "Lightning Network Daemon";
|
|
homepage = "https://github.com/lightningnetwork/lnd";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ cypherpunk2140 prusnak ];
|
|
};
|
|
}
|