summary refs log tree commit diff
path: root/pkgs/applications/blockchains/lndinit/default.nix
blob: 4d982183a36cba075a47f6d710953eacf15cb725 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:
buildGoModule rec {
  pname = "lndinit";
  version = "0.1.5-beta";

  src = fetchFromGitHub {
    owner = "lightninglabs";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-7ibjDIDKP1ASvCWiF03aLCR6RXqLxmdkR5UZoU3dneA=";
  };

  vendorHash = "sha256-2AHU5/XSDJAEvAg7LmGxCmrJ/oS84fNF3mXigKFDsb4=";

  subPackages = ["."];

  meta = with lib; {
    description = "Wallet initializer utility for lnd";
    homepage = "https://github.com/lightninglabs/lndinit";
    mainProgram = pname;
    license = licenses.mit;
    maintainers = with maintainers; [aldoborrero];
  };
}