nixpkgs/pkgs/servers/monitoring/prometheus/statsd_bridge/default.nix
Benjamin Staffin b2de6ccc8e Update prometheus and its various helper packages
Updates to:

 - prometheus
 - prometheus-alertmanager
 - prometheus-cli
 - prometheus-mesos-exporter
 - prometheus-node-exporter
 - prometheus-pushgateway
 - prometheus-statsd-bridge
2015-05-23 17:34:43 -07:00

28 lines
746 B
Nix

{ stdenv, lib, goPackages, fetchFromGitHub }:
goPackages.buildGoPackage rec {
name = "prometheus-statsd-bridge-${version}";
version = "0.1.0";
goPackagePath = "github.com/prometheus/statsd_bridge";
src = fetchFromGitHub {
rev = version;
owner = "prometheus";
repo = "statsd_bridge";
sha256 = "1fndpmd1k0a3ar6f7zpisijzc60f2dng5399nld1i1cbmd8jybjr";
};
buildInputs = with goPackages; [
fsnotify.v0
prometheus.client_golang
];
meta = with 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;
};
}