nixpkgs/pkgs/servers/monitoring/prometheus/atlas-exporter.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

24 lines
635 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 ];
};
}