about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/monitoring/prometheus/cloudflare-exporter.nix
blob: 6d15188aaebe4d7351c8635eb9ab8831f2eba979 (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
{ buildGoModule, fetchFromGitHub, lib }:

buildGoModule rec {
  pname = "cloudflare-exporter";
  version = "0.0.14";

  src = fetchFromGitHub {
    rev = version;
    owner = "lablabs";
    repo = pname;
    sha256 = "sha256-A7JnHx9yipTwv63287BqmGrJ3yQ21NhB1z7rrHe6Ok8=";
  };

  vendorHash = "sha256-B/+UTkoGAoJLMr+zdXXSC2CWGHx+Iu5E2qp4AA/nmHM=";

  meta = with lib; {
    description = "Prometheus Cloudflare Exporter";
    homepage = "https://github.com/lablabs/cloudflare-exporter";
    license = licenses.asl20;
    maintainers = with maintainers; [ bbigras ];
    platforms = platforms.linux;
  };
}