prometheus-nginx-exporter: 20161104 -> 20161107
This commit is contained in:
parent
a07912203e
commit
398bf54f63
|
@ -1,16 +1,16 @@
|
||||||
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
{ stdenv, buildGoPackage, fetchgit }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "nginx_exporter-${version}";
|
name = "nginx_exporter-${version}";
|
||||||
version = "20161104-${stdenv.lib.strings.substring 0 7 rev}";
|
version = "20161107-${stdenv.lib.strings.substring 0 7 rev}";
|
||||||
rev = "1b2a3d124b6446a0159a68427b0dc3a8b9f32203";
|
rev = "2d7dfd13458c0d82671c03dc54f3aa0110a49a05";
|
||||||
|
|
||||||
goPackagePath = "github.com/discordianfish/nginx_exporter";
|
goPackagePath = "github.com/discordianfish/nginx_exporter";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
inherit rev;
|
inherit rev;
|
||||||
url = "https://github.com/discordianfish/nginx_exporter";
|
url = "https://github.com/discordianfish/nginx_exporter";
|
||||||
sha256 = "19nmkn81m0nyq022bnmjr93wifig4mjcgvns7cbn31i197cydw28";
|
sha256 = "17mjbf8v4h7ja87y02ggmyzl3g8ms8s37mcpcq1niijgli37h75d";
|
||||||
};
|
};
|
||||||
|
|
||||||
goDeps = ./nginx-exporter_deps.nix;
|
goDeps = ./nginx-exporter_deps.nix;
|
||||||
|
@ -19,7 +19,7 @@ buildGoPackage rec {
|
||||||
description = "Metrics relay from nginx stats to Prometheus";
|
description = "Metrics relay from nginx stats to Prometheus";
|
||||||
homepage = https://github.com/discordianfish/nginx_exporter;
|
homepage = https://github.com/discordianfish/nginx_exporter;
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ benley ];
|
maintainers = with maintainers; [ benley fpletz ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue