9 pname = "smokeping_prober";
16 Revision = "722200c4adbd6d1e5d847dfbbd9dec07aa4ca38d";
20 varFlags = lib.concatStringsSep " " (
21 lib.mapAttrsToList (name: value: "-X github.com/prometheus/common/version.${name}=${value}") setVars
30 src = fetchFromGitHub {
32 repo = "smokeping_prober";
34 sha256 = "sha256-CqUkJLyxCuBDbfPLSXuGNlyg5POh6jYyXUxQ9tF+w3s=";
36 vendorHash = "sha256-iKAT10pD2ctVIBdDw/AmHYtoZDW9XC8ruIxqlVoAuWY=";
40 passthru.tests = { inherit (nixosTests.prometheus-exporters) smokeping; };
43 description = "Prometheus exporter for sending continual ICMP/UDP pings";
44 mainProgram = "smokeping_prober";
45 homepage = "https://github.com/SuperQ/smokeping_prober";
46 license = licenses.asl20;
47 maintainers = with maintainers; [ lukegb ];