about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/monitoring/prometheus/lnd-exporter.nix
blob: 225e7c57543694111cd128ff843b0b6428552084 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "lndmon-unstable";
  version = "2020-01-09";

  src = fetchFromGitHub {
    owner = "lightninglabs";
    repo = "lndmon";
    sha256 = "0d4z8yv2459wsi4c91qs5an13acn73fd8s321xya5vxxiyf51q24";
    rev = "2c7c5ce0fcb4e7eef4df60efe8a644587a309f6c";
  };

  vendorSha256 = "083h2ksnqmcr48958r5pag9a28xvljpc3prip6wn70ifp2wpjpin";

  meta = with stdenv.lib; {
    inherit (src.meta) homepage;
    description = "Prometheus exporter for lnd (Lightning Network Daemon)";
    license = licenses.mit;
    maintainers = with maintainers; [ mmilata ];
  };
}