2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
|
2017-11-14 04:12:44 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "surfboard_exporter";
|
2017-11-14 04:12:44 +00: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 11:48:40 +01:00
|
|
|
passthru.tests = { inherit (nixosTests.prometheus-exporters) surfboard; };
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-11-14 04:12:44 +00:00
|
|
|
description = "Arris Surfboard signal metrics exporter";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/ipstatic/surfboard_exporter";
|
2017-11-14 04:12:44 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ disassembler ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|