2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
2020-06-04 00:35:57 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
2020-12-21 19:35:02 +00:00
|
|
|
pname = "lndmon";
|
2021-04-05 22:38:18 +01:00
|
|
|
version = "unstable-2021-03-26";
|
2020-06-04 00:35:57 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lightninglabs";
|
|
|
|
repo = "lndmon";
|
2021-04-05 22:38:18 +01:00
|
|
|
sha256 = "14lmmjq61p8yhc86swigs43risqi31vlmz7ri8j0n0fyp8lm2kxs";
|
|
|
|
rev = "3aa925aa4f633a6c4d132601922e78f173ae8ac1";
|
2020-06-04 00:35:57 +01:00
|
|
|
};
|
|
|
|
|
2020-12-21 19:35:02 +00:00
|
|
|
vendorSha256 = "06if387b9m02ciqgcissih1x06l33djp87vgspwzz589f77vczk8";
|
2020-06-04 00:35:57 +01:00
|
|
|
|
2020-06-18 11:48:40 +01:00
|
|
|
passthru.tests = { inherit (nixosTests.prometheus-exporters) lnd; };
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-04-05 22:38:18 +01:00
|
|
|
homepage = "https://github.com/lightninglabs/lndmon";
|
2020-06-04 00:35:57 +01:00
|
|
|
description = "Prometheus exporter for lnd (Lightning Network Daemon)";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mmilata ];
|
|
|
|
};
|
|
|
|
}
|