mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-10 07:43:13 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
23 lines
565 B
Nix
23 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 ];
|
|
};
|
|
}
|