nixpkgs/pkgs/applications/blockchains/lnd.nix

23 lines
573 B
Nix
Raw Normal View History

2019-07-22 16:19:15 +01:00
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "lnd";
2019-11-17 15:35:51 +00:00
version = "0.8.1-beta";
2019-07-22 16:19:15 +01:00
src = fetchFromGitHub {
owner = "lightningnetwork";
repo = "lnd";
rev = "v${version}";
2019-11-17 15:35:51 +00:00
sha256 = "0f9fx2y66l3wxiax2vl2966avamjarkv3vbn9dy0wbxkwg4pfayb";
2019-07-22 16:19:15 +01:00
};
2019-11-17 15:35:51 +00:00
modSha256 = "1i6xw2amkg4azvzybcl4pqxif9c0mv8ayrhz9hm8x85bz7i6a787";
2019-07-22 16:19:15 +01:00
meta = with lib; {
description = "Lightning Network Daemon";
homepage = "https://github.com/lightningnetwork/lnd";
license = lib.licenses.mit;
maintainers = with maintainers; [ cypherpunk2140 ];
};
}