diff options
Diffstat (limited to 'pkgs/servers/monitoring/prometheus/nginx-exporter.nix')
-rw-r--r-- | pkgs/servers/monitoring/prometheus/nginx-exporter.nix | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/pkgs/servers/monitoring/prometheus/nginx-exporter.nix b/pkgs/servers/monitoring/prometheus/nginx-exporter.nix deleted file mode 100644 index 9a6c6c250ad7..000000000000 --- a/pkgs/servers/monitoring/prometheus/nginx-exporter.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, nixosTests }: - -buildGoModule rec { - pname = "nginx_exporter"; - version = "1.2.0"; - - src = fetchFromGitHub { - owner = "nginxinc"; - repo = "nginx-prometheus-exporter"; - rev = "v${version}"; - sha256 = "sha256-VzgcAyXR9TKpK6CJzKoqN5EgO9rWnZBhwv5Km/k8cK0="; - }; - - vendorHash = "sha256-HoRE9hvnyPkLpwc+FfUmithd5UDEJ0TnoDfcifa/0o0="; - - ldflags = [ "-s" "-w" "-X main.version=${version}" ]; - - passthru.tests = { inherit (nixosTests.prometheus-exporters) nginx; }; - - meta = with lib; { - description = "NGINX Prometheus Exporter for NGINX and NGINX Plus"; - mainProgram = "nginx-prometheus-exporter"; - homepage = "https://github.com/nginxinc/nginx-prometheus-exporter"; - license = licenses.asl20; - maintainers = with maintainers; [ benley fpletz willibutz globin ]; - }; -} |