mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
27 lines
646 B
Nix
27 lines
646 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "mtr-exporter";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mgumz";
|
|
repo = "mtr-exporter";
|
|
rev = version;
|
|
hash = "sha256-vVYdIfogXHixf1/7+uGKSxbqVmr9NeCUuNVYE07HoBw=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
meta = with lib; {
|
|
description = ''
|
|
Mtr-exporter periodically executes mtr to a given host and
|
|
provides the measured results as prometheus metrics.
|
|
'';
|
|
homepage = "https://github.com/mgumz/mtr-exporter";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ jakubgs ];
|
|
mainProgram = "mtr-exporter";
|
|
};
|
|
}
|