prometheus-json-exporter: init at 20160913

This commit is contained in:
Corbin
2017-01-09 15:20:26 +01:00
committed by Robin Gloster
parent 1b839a586b
commit 1e5de5fc3c
3 changed files with 137 additions and 0 deletions
@@ -0,0 +1,25 @@
# This file was generated by go2nix.
{ stdenv, buildGoPackage, fetchFromGitHub, lib }:
buildGoPackage rec {
name = "prometheus-json-exporter-${version}";
version = "unstable-2016-09-13";
rev = "d45e5ebdb08cb734ad7a8683966032af1d91a76c";
goPackagePath = "github.com/kawamuray/prometheus-json-exporter";
src = fetchFromGitHub {
inherit rev;
owner = "kawamuray";
repo = "prometheus-json-exporter";
sha256 = "0v3as7gakdqpsir97byknsrqxxxkq66hp23j4cscs45hsdb24pi9";
};
goDeps = ./json-exporter_deps.nix;
meta = {
description = "A prometheus exporter which scrapes remote JSON by JSONPath";
homepage = "https://github.com/kawamuray/prometheus-json-exporter";
license = lib.licenses.asl20;
};
}