nixpkgs/pkgs/applications/blockchains/lnd.nix

24 lines
618 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
};
vendorSha256 = "1iyghg11cxvbzi0gl40fvv8pl3d3k52j179w3x5m1f09r5ji223y";
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 ];
};
}