2016-11-27 22:26:33 +03:00
|
|
|
# This file was generated by go2nix.
|
2018-07-21 03:44:44 +03:00
|
|
|
{ buildGoPackage, fetchFromGitHub, lib }:
|
2016-11-27 22:26:33 +03:00
|
|
|
|
|
|
|
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";
|
2017-08-01 23:03:30 +03:00
|
|
|
homepage = https://github.com/kawamuray/prometheus-json-exporter;
|
2016-11-27 22:26:33 +03:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|