about summary refs log tree commit diff
path: root/pkgs/applications/blockchains/lnd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/blockchains/lnd.nix')
-rw-r--r--pkgs/applications/blockchains/lnd.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/lnd.nix b/pkgs/applications/blockchains/lnd.nix
new file mode 100644
index 0000000000000..27f10c963c0f8
--- /dev/null
+++ b/pkgs/applications/blockchains/lnd.nix
@@ -0,0 +1,22 @@
+{ buildGoModule, fetchFromGitHub, lib }:
+
+buildGoModule rec {
+  pname = "lnd";
+  version = "0.7.1-beta";
+
+  src = fetchFromGitHub {
+    owner = "lightningnetwork";
+    repo = "lnd";
+    rev = "v${version}";
+    sha256 = "1c0sm0lavdai4w6d283q54knggw9d42vvqmglnv2h9swbw1l23ry";
+  };
+
+  modSha256 = "13hjaf4bswk8g57lyxzdlqqp4a6ddl3qm6n4jja4b1h58mlbil73";
+
+  meta = with lib; {
+    description = "Lightning Network Daemon";
+    homepage = "https://github.com/lightningnetwork/lnd";
+    license = lib.licenses.mit;
+    maintainers = with maintainers; [ cypherpunk2140 ];
+  };
+}