ff323ed355
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
23 lines
606 B
Nix
23 lines
606 B
Nix
{ 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;
|
|
};
|
|
}
|