Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / servers / monitoring / prometheus / ping-exporter.nix
blob5419903508a4088e9839a0d579687f71e4229d5a
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "ping-exporter";
5   version = "1.1.3";
7   src = fetchFromGitHub {
8     owner = "czerwonk";
9     repo = "ping_exporter";
10     rev = version;
11     hash = "sha256-Jdo+6/e9gES8q4wTGRuy5HSj7VimOMZ9q3guKDcKJxg=";
12   };
14   vendorHash = "sha256-1oNbg6lu9xLJKeYOzK23HOTLJc3KWri7z4/2AZ7Hzms=";
16   meta = with lib; {
17     description = "Prometheus exporter for ICMP echo requests";
18     mainProgram = "ping_exporter";
19     homepage = "https://github.com/czerwonk/ping_exporter";
20     license = licenses.mit;
21     maintainers = with maintainers; [ nudelsalat ];
22   };