nixpkgs/pkgs/servers/monitoring/vmagent/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
744 B
Nix
Raw Normal View History

2022-10-09 11:19:24 +02:00
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "vmagent";
2023-10-23 08:57:08 +02:00
version = "1.93.6";
2022-10-09 11:19:24 +02:00
src = fetchFromGitHub {
owner = "VictoriaMetrics";
repo = "VictoriaMetrics";
rev = "v${version}";
2023-10-23 08:57:08 +02:00
sha256 = "sha256-5z8o6I2AoX43t4UeOjxha9fkEDxVDRhdGNgVZGlHrRE=";
2022-10-09 11:19:24 +02:00
};
ldflags = [ "-s" "-w" "-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${version}" ];
2023-04-27 03:00:15 +02:00
vendorHash = null;
2022-10-09 11:19:24 +02:00
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 ];
};
}