depot/pkgs/servers/monitoring/prometheus/cloudflare-exporter.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

24 lines
647 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "cloudflare-exporter";
version = "0.0.16";
src = fetchFromGitHub {
rev = version;
owner = "lablabs";
repo = pname;
sha256 = "sha256-7cyHAN4VQWfWMdlFbZvHL38nIEeC1z/vpCDR5R2pOAw=";
};
vendorHash = "sha256-c1drgbzoA5AlbB0K+E8kuJnyShgUg7spPQKAAwxCr6M=";
meta = with lib; {
description = "Prometheus Cloudflare Exporter";
mainProgram = "cloudflare-exporter";
homepage = "https://github.com/lablabs/cloudflare-exporter";
license = licenses.asl20;
maintainers = with maintainers; [ bbigras ];
platforms = platforms.linux;
};
}