9 pname = "nginxlog_exporter";
12 src = fetchFromGitHub {
13 owner = "martin-helmich";
14 repo = "prometheus-nginxlog-exporter";
16 sha256 = "sha256-UkXrVHHHZ9mEgsMUcHu+wI6NZFw4h3X4atDBjpBcz8E=";
19 vendorHash = "sha256-RzqfmP1d3zqageiGSr+CxSJQxAXmOKRCwj/7KO2f3EE=";
21 subPackages = [ "." ];
23 passthru.tests = { inherit (nixosTests.prometheus-exporters) nginxlog; };
26 description = "Export metrics from Nginx access log files to Prometheus";
27 mainProgram = "prometheus-nginxlog-exporter";
28 homepage = "https://github.com/martin-helmich/prometheus-nginxlog-exporter";
29 license = licenses.asl20;
30 maintainers = with maintainers; [ mmahut ];