diff options
author | WilliButz <wbutz@cyberfnord.de> | 2018-08-21 01:42:18 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2018-09-18 18:21:00 +0200 |
commit | b59cd2bc175015bd770c6ed3665acbd8dac9e82d (patch) | |
tree | fcc3482ee3ef1ee7928f24a1b03cb7cc15ff2e39 /pkgs/servers/monitoring/prometheus | |
parent | b712736283a465aec9420534727c71459d6d1839 (diff) | |
download | nixlib-b59cd2bc175015bd770c6ed3665acbd8dac9e82d.tar nixlib-b59cd2bc175015bd770c6ed3665acbd8dac9e82d.tar.gz nixlib-b59cd2bc175015bd770c6ed3665acbd8dac9e82d.tar.bz2 nixlib-b59cd2bc175015bd770c6ed3665acbd8dac9e82d.tar.lz nixlib-b59cd2bc175015bd770c6ed3665acbd8dac9e82d.tar.xz nixlib-b59cd2bc175015bd770c6ed3665acbd8dac9e82d.tar.zst nixlib-b59cd2bc175015bd770c6ed3665acbd8dac9e82d.zip |
prometheus-json-exporter: add patch to support bool parsing
Diffstat (limited to 'pkgs/servers/monitoring/prometheus')
-rw-r--r-- | pkgs/servers/monitoring/prometheus/json-exporter.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/servers/monitoring/prometheus/json-exporter.nix b/pkgs/servers/monitoring/prometheus/json-exporter.nix index ef022fc308ce..aeb7b7445a5d 100644 --- a/pkgs/servers/monitoring/prometheus/json-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/json-exporter.nix @@ -1,5 +1,5 @@ # This file was generated by go2nix. -{ buildGoPackage, fetchFromGitHub, lib }: +{ buildGoPackage, fetchFromGitHub, fetchpatch, lib }: buildGoPackage rec { name = "prometheus-json-exporter-${version}"; @@ -16,6 +16,11 @@ buildGoPackage rec { goDeps = ./json-exporter_deps.nix; + patches = [(fetchpatch { # adds bool support + url = "https://patch-diff.githubusercontent.com/raw/kawamuray/prometheus-json-exporter/pull/17.patch"; + sha256 = "0mc5axhd2bykci41dgswl4r1552d70jsmb17lbih7czhsy6rgmrm"; + })]; + meta = with lib; { description = "A prometheus exporter which scrapes remote JSON by JSONPath"; homepage = https://github.com/kawamuray/prometheus-json-exporter; |