24 lines
634 B
Nix
24 lines
634 B
Nix
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||
|
|
||
|
buildGoModule rec {
|
||
|
pname = "atlas-exporter";
|
||
|
version = "1.0.4";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "czerwonk";
|
||
|
repo = "atlas_exporter";
|
||
|
rev = version;
|
||
|
sha256 = "sha256-vhUhWO7fQpUHT5nyxbT8AylgUqDNZRSb+EGRNGZJ14E=";
|
||
|
};
|
||
|
|
||
|
vendorHash = "sha256-tR+OHxj/97AixuAp0Kx9xQsKPAxpvF6hDha5BgMBha0=";
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Prometheus exporter for RIPE Atlas measurement results";
|
||
|
mainProgram = "atlas_exporter";
|
||
|
homepage = "https://github.com/czerwonk/atlas_exporter";
|
||
|
license = licenses.lgpl3;
|
||
|
maintainers = with maintainers; [ clerie ];
|
||
|
};
|
||
|
}
|