Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / servers / monitoring / prometheus / cloudflare-exporter.nix
blob0f9fa40e418df5cbe0c4cb61ca367893fc26ce38
1 { buildGoModule, fetchFromGitHub, lib }:
3 buildGoModule rec {
4   pname = "cloudflare-exporter";
5   version = "0.0.16";
7   src = fetchFromGitHub {
8     rev = version;
9     owner = "lablabs";
10     repo = pname;
11     sha256 = "sha256-7cyHAN4VQWfWMdlFbZvHL38nIEeC1z/vpCDR5R2pOAw=";
12   };
14   vendorHash = "sha256-c1drgbzoA5AlbB0K+E8kuJnyShgUg7spPQKAAwxCr6M=";
16   meta = with lib; {
17     description = "Prometheus Cloudflare Exporter";
18     mainProgram = "cloudflare-exporter";
19     homepage = "https://github.com/lablabs/cloudflare-exporter";
20     license = licenses.asl20;
21     maintainers = with maintainers; [ bbigras ];
22     platforms = platforms.linux;
23   };