587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
27 lines
774 B
Nix
27 lines
774 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
buildGoModule rec {
|
|
pname = "vmagent";
|
|
version = "1.100.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "VictoriaMetrics";
|
|
repo = "VictoriaMetrics";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-OheW6sCn/yXgSrtUe1zqDGaH6G8HG4QRQhFznaZGvX0=";
|
|
};
|
|
|
|
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";
|
|
mainProgram = "vmagent";
|
|
license = licenses.asl20;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ nullx76 ];
|
|
};
|
|
}
|