Merge pull request #311903 from srhb/squid-exporter
This commit is contained in:
commit
11bbcb48bf
22
pkgs/by-name/pr/prometheus-squid-exporter/package.nix
Normal file
22
pkgs/by-name/pr/prometheus-squid-exporter/package.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "squid-exporter";
|
||||
version = "1.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "boynux";
|
||||
repo = "squid-exporter";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-43f6952IqUHoB5CN0p5R5J/sMKbTe2msF9FGqykwMBo=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
meta = {
|
||||
description = "Squid Prometheus exporter";
|
||||
homepage = "https://github.com/boynux/squid-exporter";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ srhb ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user