biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / servers / monitoring / vmagent / default.nix
blob6267b14c0f4c45d88967051af214643f7f2e6d56
1 { lib, fetchFromGitHub, buildGoModule }:
2 buildGoModule rec {
3   pname = "vmagent";
4   version = "1.100.1";
6   src = fetchFromGitHub {
7     owner = "VictoriaMetrics";
8     repo = "VictoriaMetrics";
9     rev = "v${version}";
10     sha256 = "sha256-OheW6sCn/yXgSrtUe1zqDGaH6G8HG4QRQhFznaZGvX0=";
11   };
13   ldflags = [ "-s" "-w" "-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${version}" ];
15   vendorHash = null;
17   subPackages = [ "app/vmagent" ];
19   meta = with lib; {
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 ];
26   };