nixpkgs/pkgs/applications/blockchains/lnd.nix

23 lines
573 B
Nix
Raw Normal View History

2019-07-22 15:19:15 +00:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "lnd";
2020-02-16 18:09:33 +00:00
version = "0.9.0-beta";
2019-07-22 15:19:15 +00:00
src = fetchFromGitHub {
owner = "lightningnetwork";
repo = "lnd";
rev = "v${version}";
2020-02-16 18:09:33 +00:00
sha256 = "1hq105s9ykp6nsn4iicjnl3mwspqkbfsswkx7sgzv3jggg08fkq9";
2019-07-22 15:19:15 +00:00
};
2020-02-16 18:09:33 +00:00
modSha256 = "1pvcvpiz6ck8xkgpypchrq9kgkik0jxd7f3jhihbgldsh4zaqiaq";
2019-07-22 15:19:15 +00:00
meta = with lib; {
description = "Lightning Network Daemon";
homepage = "https://github.com/lightningnetwork/lnd";
license = lib.licenses.mit;
maintainers = with maintainers; [ cypherpunk2140 ];
};
}