2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
|
2017-11-14 05:12:44 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "surfboard_exporter";
|
2017-11-14 05:12:44 +01:00
|
|
|
version = "2.0.0";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/ipstatic/surfboard_exporter";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = version;
|
|
|
|
owner = "ipstatic";
|
|
|
|
repo = "surfboard_exporter";
|
|
|
|
sha256 = "11qms26648nwlwslnaflinxcr5rnp55s908rm1qpnbz0jnxf5ipw";
|
|
|
|
};
|
|
|
|
|
2020-06-18 12:48:40 +02:00
|
|
|
passthru.tests = { inherit (nixosTests.prometheus-exporters) surfboard; };
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-11-14 05:12:44 +01:00
|
|
|
description = "Arris Surfboard signal metrics exporter";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/ipstatic/surfboard_exporter";
|
2017-11-14 05:12:44 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ disassembler ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|