summary refs log tree commit diff
path: root/pkgs/servers/monitoring/prometheus/json-exporter.nix
blob: ea17c0b18b23dccdc085f4177be5023ff9e2a8c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
  };
}