11 pname = "prometheus_varnish_exporter";
14 src = fetchFromGitHub {
16 repo = "prometheus_varnish_exporter";
18 hash = "sha256-1sUzKLNkLP/eX0wYSestMAJpjAmX1iimjYoFYb6Mgpc=";
21 vendorHash = "sha256-P2fR0U2O0Y4Mci9jkAMb05WR+PrpuQ59vbLMG5b9KQI=";
23 nativeBuildInputs = [ makeWrapper ];
26 wrapProgram $out/bin/prometheus_varnish_exporter \
27 --prefix PATH : "${varnish}/bin"
30 passthru.tests = { inherit (nixosTests.prometheus-exporters) varnish; };
33 homepage = "https://github.com/jonnenauha/prometheus_varnish_exporter";
34 description = "Varnish exporter for Prometheus";
35 mainProgram = "prometheus_varnish_exporter";
36 license = lib.licenses.mit;
37 maintainers = with lib.maintainers; [ MostAwesomeDude ];