Unverified Commit f25f0259 authored by Ryan Mulligan's avatar Ryan Mulligan Committed by GitHub
Browse files

prometheus-cloudflare-exporter: 0.0.16 -> 0.3.0 (#336944)

parents 0997a0b7 8d6bef06
Loading
Loading
Loading
Loading
+14 −4
Original line number Diff line number Diff line
@@ -2,20 +2,30 @@
  buildGoModule,
  fetchFromGitHub,
  lib,
  nix-update-script,
}:

buildGoModule rec {
  pname = "cloudflare-exporter";
  version = "0.0.16";
  version = "0.3.0";

  src = fetchFromGitHub {
    rev = version;
    owner = "lablabs";
    repo = pname;
    sha256 = "sha256-7cyHAN4VQWfWMdlFbZvHL38nIEeC1z/vpCDR5R2pOAw=";
    tag = "cloudflare-exporter-${version}";
    sha256 = "sha256-rfnAGBuY6HoWzZkYp9u+Ee3xhWb6Se2RkkSIWBvjUYY=";
  };

  vendorHash = "sha256-c1drgbzoA5AlbB0K+E8kuJnyShgUg7spPQKAAwxCr6M=";
  vendorHash = "sha256-v8qw4Cofw0vOrEg5oo9YtRabXMrjpQ+tI4l+A43JllA=";

  passthru = {
    updateScript = nix-update-script {
      extraArgs = [
        "--version-regex"
        "cloudflare-exporter-(.*)"
      ];
    };
  };

  meta = with lib; {
    description = "Prometheus Cloudflare Exporter";