mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
27 lines
744 B
Nix
27 lines
744 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
buildGoModule rec {
|
|
pname = "vmagent";
|
|
version = "1.93.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "VictoriaMetrics";
|
|
repo = "VictoriaMetrics";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-5z8o6I2AoX43t4UeOjxha9fkEDxVDRhdGNgVZGlHrRE=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|