1 { lib, fetchFromGitHub, buildGoModule }:
6 src = fetchFromGitHub {
7 owner = "VictoriaMetrics";
8 repo = "VictoriaMetrics";
10 sha256 = "sha256-OheW6sCn/yXgSrtUe1zqDGaH6G8HG4QRQhFznaZGvX0=";
13 ldflags = [ "-s" "-w" "-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${version}" ];
17 subPackages = [ "app/vmagent" ];
20 homepage = "https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/app/vmagent";
21 description = "VictoriaMetrics metrics scraper";
22 mainProgram = "vmagent";
23 license = licenses.asl20;
24 platforms = platforms.linux;
25 maintainers = with maintainers; [ nullx76 ];