prom2json: 0.1.0 -> 1.3.0

This commit is contained in:
Robin Gloster
2021-05-11 00:28:27 -05:00
parent 50ab1fff13
commit 9b37635200
2 changed files with 6 additions and 47 deletions
@@ -1,20 +1,17 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "prom2json";
version = "0.1.0";
rev = version;
goPackagePath = "github.com/prometheus/prom2json";
version = "1.3.0";
src = fetchFromGitHub {
inherit rev;
rev = "v${version}";
owner = "prometheus";
repo = "prom2json";
sha256 = "0wwh3mz7z81fwh8n78sshvj46akcgjhxapjgfic5afc4nv926zdl";
sha256 = "09glf7br1a9k6j2hs94l2k4mlmlckdz5c9v6qg618c2nd4rk1mz6";
};
goDeps = ./prom2json_deps.nix;
vendorSha256 = null;
meta = with lib; {
description = "Tool to scrape a Prometheus client and dump the result as JSON";