e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
26 lines
744 B
Nix
26 lines
744 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
buildGoModule rec {
|
|
pname = "vmagent";
|
|
version = "1.96.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "VictoriaMetrics";
|
|
repo = "VictoriaMetrics";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-/YS0IDUdGIT3QuRbD+5c3VOqrzYvbcZefLSd+tYJ6dY=";
|
|
};
|
|
|
|
ldflags = [ "-s" "-w" "-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${version}" ];
|
|
|
|
vendorHash = null;
|
|
|
|
subPackages = [ "app/vmagent" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/app/vmagent";
|
|
description = "VictoriaMetrics metrics scraper";
|
|
license = licenses.asl20;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ nullx76 ];
|
|
};
|
|
}
|