1 { lib, buildGoModule, fetchFromGitHub, nixosTests }:
7 src = fetchFromGitHub {
8 owner = "lightninglabs";
11 hash = "sha256-j9T60J7n9sya9/nN0Y6wsPDXN2h35pXxMdadsOkAMWI=";
14 vendorHash = "sha256-h9+/BOy1KFiqUUV35M548fDKFC3Q5mBaANuD7t1rpp8=";
16 # Irrelevant tools dependencies.
17 excludedPackages = [ "./tools" ];
19 passthru.tests = { inherit (nixosTests.prometheus-exporters) lnd; };
22 homepage = "https://github.com/lightninglabs/lndmon";
23 description = "Prometheus exporter for lnd (Lightning Network Daemon)";
24 mainProgram = "lndmon";
25 license = licenses.mit;
26 maintainers = with maintainers; [ mmilata ];