nixpkgs/pkgs/servers/monitoring/prometheus/v2ray-exporter.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

24 lines
596 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "v2ray-exporter";
version = "0.6.0";
src = fetchFromGitHub {
owner = "wi1dcard";
repo = "v2ray-exporter";
rev = "v${version}";
sha256 = "12mzng3cw24fyyh8zjfi26gh853k5blzg3zbxcccnv5lryh2r0yi";
};
vendorHash = "sha256-+jrD+QatTrMaAdbxy5mpCm8lF37XDIy1GFyEiUibA2k=";
meta = with lib; {
description = "Prometheus exporter for V2Ray daemon";
mainProgram = "v2ray-exporter";
homepage = "https://github.com/wi1dcard/v2ray-exporter";
license = licenses.mit;
maintainers = [ ];
};
}