mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
32 lines
787 B
Nix
32 lines
787 B
Nix
{ buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
, go
|
|
, tags ? [ "autopilotrpc" "signrpc" "walletrpc" "chainrpc" "invoicesrpc" "watchtowerrpc" "routerrpc" "monitoring" "kvdb_postgres" "kvdb_etcd" ]
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "lnd";
|
|
version = "0.18.0-beta";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lightningnetwork";
|
|
repo = "lnd";
|
|
rev = "v${version}";
|
|
hash = "sha256-LkVlsmL/NjWtKUnerqTiT/jNfxazYw0B0GhBDCTGmao=";
|
|
};
|
|
|
|
vendorHash = "sha256-T7jPuhAEeQ0U43J9gTQ+0/BdLAn4BOupAkmmmofhHtY=";
|
|
|
|
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 ];
|
|
};
|
|
}
|