2020-06-18 11:48:40 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:
|
2020-06-04 00:35:57 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lndmon-unstable";
|
|
|
|
version = "2020-01-09";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lightninglabs";
|
|
|
|
repo = "lndmon";
|
|
|
|
sha256 = "0d4z8yv2459wsi4c91qs5an13acn73fd8s321xya5vxxiyf51q24";
|
|
|
|
rev = "2c7c5ce0fcb4e7eef4df60efe8a644587a309f6c";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = "083h2ksnqmcr48958r5pag9a28xvljpc3prip6wn70ifp2wpjpin";
|
|
|
|
|
2020-06-18 11:48:40 +01:00
|
|
|
passthru.tests = { inherit (nixosTests.prometheus-exporters) lnd; };
|
|
|
|
|
2020-06-04 00:35:57 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Prometheus exporter for lnd (Lightning Network Daemon)";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mmilata ];
|
|
|
|
};
|
|
|
|
}
|