parent
f44b557476
commit
0f13eab7c8
@ -0,0 +1,28 @@ |
|||||||
|
# This file was generated by go2nix. |
||||||
|
{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }: |
||||||
|
|
||||||
|
with goPackages; |
||||||
|
|
||||||
|
buildGoPackage rec { |
||||||
|
name = "nginx_exporter-${version}"; |
||||||
|
version = "20160524-${stdenv.lib.strings.substring 0 7 rev}"; |
||||||
|
rev = "2cf16441591f6b6e58a8c0439dcaf344057aea2b"; |
||||||
|
|
||||||
|
goPackagePath = "github.com/discordianfish/nginx_exporter"; |
||||||
|
|
||||||
|
src = fetchgit { |
||||||
|
inherit rev; |
||||||
|
url = "https://github.com/discordianfish/nginx_exporter"; |
||||||
|
sha256 = "0p9j0bbr2lr734980x2p8d67lcify21glwc5k3i3j4ri4vadpxvc"; |
||||||
|
}; |
||||||
|
|
||||||
|
goDeps = ./nginx-exporter_deps.json; |
||||||
|
|
||||||
|
meta = with stdenv.lib; { |
||||||
|
description = "Metrics relay from nginx stats to Prometheus"; |
||||||
|
homepage = https://github.com/discordianfish/nginx_exporter; |
||||||
|
license = licenses.asl20; |
||||||
|
maintainers = with maintainers; [ benley ]; |
||||||
|
platforms = platforms.unix; |
||||||
|
}; |
||||||
|
} |
@ -0,0 +1,16 @@ |
|||||||
|
[ |
||||||
|
{ |
||||||
|
"include": "../../libs.json", |
||||||
|
"packages": [ |
||||||
|
"github.com/prometheus/log", |
||||||
|
"github.com/prometheus/client_golang", |
||||||
|
"github.com/prometheus/client_model", |
||||||
|
"github.com/prometheus/procfs", |
||||||
|
"github.com/Sirupsen/logrus", |
||||||
|
"github.com/beorn7/perks", |
||||||
|
"github.com/golang/protobuf", |
||||||
|
"github.com/matttproud/golang_protobuf_extensions", |
||||||
|
"bitbucket.org/ww/goautoneg" |
||||||
|
] |
||||||
|
} |
||||||
|
] |
Loading…
Reference in new issue