nixpkgs/pkgs/applications/blockchains/lnd.nix

23 lines
573 B
Nix
Raw Normal View History

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