nixpkgs/pkgs/servers/monitoring/prometheus/json-exporter.nix

26 lines
770 B
Nix
Raw Normal View History

# This file was generated by go2nix.
{ buildGoPackage, fetchFromGitHub, lib }:
buildGoPackage rec {
name = "prometheus-json-exporter-${version}";
version = "unstable-2017-10-06";
goPackagePath = "github.com/kawamuray/prometheus-json-exporter";
src = fetchFromGitHub {
owner = "kawamuray";
repo = "prometheus-json-exporter";
rev = "51e3dc02a30ab818bb73e5c98c3853231c2dbb5f";
sha256 = "1v1p4zcqnb3d3rm55r695ydn61h6gz95f55cpa22hzw18dasahdh";
};
goDeps = ./json-exporter_deps.nix;
meta = with lib; {
description = "A prometheus exporter which scrapes remote JSON by JSONPath";
homepage = https://github.com/kawamuray/prometheus-json-exporter;
license = licenses.asl20;
maintainers = with maintainers; [ willibutz ];
};
}