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