prometheus-statsd-bridge: extracted from goPackages

This commit is contained in:
Kamil Chmielewski
2016-06-05 16:25:07 +02:00
parent 5fec17a3e2
commit 5d3f8fec7c
5 changed files with 53 additions and 16 deletions

View File

@@ -0,0 +1,28 @@
# This file was generated by go2nix.
{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
with goPackages;
buildGoPackage rec {
name = "statsd_bridge-${version}";
version = "0.1.0";
rev = version;
goPackagePath = "github.com/prometheus/statsd_bridge";
src = fetchgit {
inherit rev;
url = "https://github.com/prometheus/statsd_bridge";
sha256 = "1fndpmd1k0a3ar6f7zpisijzc60f2dng5399nld1i1cbmd8jybjr";
};
goDeps = ./statsd-bridge_deps.json;
meta = with stdenv.lib; {
description = "Receives StatsD-style metrics and exports them to Prometheus";
homepage = https://github.com/prometheus/statsd_bridge;
license = licenses.asl20;
maintainers = with maintainers; [ benley ];
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,15 @@
[
{
"include": "../../libs.json",
"packages": [
"github.com/howeyc/fsnotify",
"github.com/prometheus/client_golang",
"github.com/prometheus/client_model",
"bitbucket.org/ww/goautoneg",
"github.com/beorn7/perks",
"github.com/golang/protobuf",
"github.com/matttproud/golang_protobuf_extensions",
"github.com/prometheus/procfs"
]
}
]