27 lines
738 B
Nix
27 lines
738 B
Nix
|
# This file was generated by go2nix.
|
||
|
{ stdenv, buildGoPackage, fetchFromGitHub, lib }:
|
||
|
|
||
|
buildGoPackage rec {
|
||
|
name = "prometheus_varnish_exporter-${version}";
|
||
|
version = "1.2";
|
||
|
rev = "0f0e3e2";
|
||
|
|
||
|
goPackagePath = "github.com/jonnenauha/prometheus_varnish_exporter";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
inherit rev;
|
||
|
owner = "jonnenauha";
|
||
|
repo = "prometheus_varnish_exporter";
|
||
|
sha256 = "15vw3jqzm2nad81j14spib5v7q2jpibclzrnkd688003vkizlwyn";
|
||
|
};
|
||
|
|
||
|
goDeps = ./varnish-exporter_deps.nix;
|
||
|
|
||
|
meta = {
|
||
|
homepage = "https://github.com/jonnenauha/prometheus_varnish_exporter";
|
||
|
description = "Varnish exporter for Prometheus";
|
||
|
license = lib.licenses.mit;
|
||
|
maintainers = with lib.maintainers; [ MostAwesomeDude ];
|
||
|
};
|
||
|
}
|