nixpkgs-suyu/pkgs/applications/blockchains/lnd.nix

25 lines
657 B
Nix
Raw Normal View History

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