nixpkgs/pkgs/applications/blockchains/lnd.nix

25 lines
616 B
Nix
Raw Normal View History

{ buildGoModule, fetchFromGitHub, lib }:
2019-07-22 15:19:15 +00:00
buildGoModule rec {
pname = "lnd";
2020-05-03 14:50:42 +00:00
version = "0.10.0-beta";
2019-07-22 15:19:15 +00:00
src = fetchFromGitHub {
owner = "lightningnetwork";
repo = "lnd";
rev = "v${version}";
2020-05-03 14:50:42 +00:00
sha256 = "1amciz924s2h6qhy7w34jpv1jc25p5ayfxzvjph6hhx0bccrm88w";
2019-07-22 15:19:15 +00:00
};
2020-05-03 14:50:42 +00:00
modSha256 = "15i4h3pkvyav9qsbfinzifram0knkylg24j6j0mxs4bnj80j4ycm";
subPackages = ["cmd/lncli" "cmd/lnd"];
2019-07-22 15:19:15 +00:00
meta = with lib; {
2019-07-22 15:19:15 +00:00
description = "Lightning Network Daemon";
homepage = "https://github.com/lightningnetwork/lnd";
license = lib.licenses.mit;
2019-07-22 15:19:15 +00:00
maintainers = with maintainers; [ cypherpunk2140 ];
};
}