depot/pkgs/by-name/pr/prometheus-squid-exporter/package.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

22 lines
565 B
Nix

{ lib, buildGoModule, fetchFromGitHub, }:
buildGoModule rec {
pname = "squid-exporter";
version = "1.12.0";
src = fetchFromGitHub {
owner = "boynux";
repo = "squid-exporter";
rev = "v${version}";
hash = "sha256-low1nIL7FbIYfIP7KWPskAQ50Hh+d7JI+ryYoR+mP10=";
};
vendorHash = "sha256-0BNhjNveUDd0+X0do4Md58zJjXe3+KN27MPEviNuF3g=";
meta = {
description = "Squid Prometheus exporter";
homepage = "https://github.com/boynux/squid-exporter";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ srhb ];
};
}