about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/monitoring/prometheus/atlas-exporter.nix
blob: c46959598149dfeb1abca50e7c472de057ca4739 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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 ];
  };
}