about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/blockchains/lnd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/blockchains/lnd.nix')
-rw-r--r--nixpkgs/pkgs/applications/blockchains/lnd.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/blockchains/lnd.nix b/nixpkgs/pkgs/applications/blockchains/lnd.nix
new file mode 100644
index 000000000000..1f249223df58
--- /dev/null
+++ b/nixpkgs/pkgs/applications/blockchains/lnd.nix
@@ -0,0 +1,24 @@
+{ buildGoModule, fetchFromGitHub, lib }:
+
+buildGoModule rec {
+  pname = "lnd";
+  version = "0.10.0-beta";
+
+  src = fetchFromGitHub {
+    owner = "lightningnetwork";
+    repo = "lnd";
+    rev = "v${version}";
+    sha256 = "1amciz924s2h6qhy7w34jpv1jc25p5ayfxzvjph6hhx0bccrm88w";
+  };
+
+  vendorSha256 = "1iyghg11cxvbzi0gl40fvv8pl3d3k52j179w3x5m1f09r5ji223y";
+
+  subPackages = ["cmd/lncli" "cmd/lnd"];
+
+  meta = with lib; {
+    description = "Lightning Network Daemon";
+    homepage = "https://github.com/lightningnetwork/lnd";
+    license = lib.licenses.mit;
+    maintainers = with maintainers; [ cypherpunk2140 ];
+  };
+}
\ No newline at end of file