vmagent: build from victoriametrics package
This commit is contained in:
parent
d68244cf1f
commit
728715dbc1
@ -86,7 +86,7 @@ buildGoModule rec {
|
||||
homepage = "https://victoriametrics.com/";
|
||||
description = "fast, cost-effective and scalable time series database, long-term remote storage for Prometheus";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ yorickvp ivan ];
|
||||
maintainers = with maintainers; [ yorickvp ivan nullx76 leona ];
|
||||
changelog = "https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v${version}";
|
||||
mainProgram = "victoria-metrics";
|
||||
};
|
||||
|
12
pkgs/by-name/vm/vmagent/package.nix
Normal file
12
pkgs/by-name/vm/vmagent/package.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ lib, victoriametrics }:
|
||||
lib.addMetaAttrs { mainProgram = "vmagent"; } (
|
||||
victoriametrics.override {
|
||||
withServer = false;
|
||||
withVictoriaLogs = false;
|
||||
withVmAlert = false;
|
||||
withVmAuth = false;
|
||||
withBackupTools = false;
|
||||
withVmctl = false;
|
||||
withVmAgent = true;
|
||||
}
|
||||
)
|
@ -1,27 +0,0 @@
|
||||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
buildGoModule rec {
|
||||
pname = "vmagent";
|
||||
version = "1.101.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "VictoriaMetrics";
|
||||
repo = "VictoriaMetrics";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Jjz/CbVCvc9NFbvzYTFthG8cov4pYpc6y1A1Kmd3Mjg=";
|
||||
};
|
||||
|
||||
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 leona ];
|
||||
};
|
||||
}
|
@ -26531,8 +26531,6 @@ with pkgs;
|
||||
|
||||
virtualenv-clone = with python3Packages; toPythonApplication virtualenv-clone;
|
||||
|
||||
vmagent = callPackage ../servers/monitoring/vmagent { };
|
||||
|
||||
vsftpd = callPackage ../servers/ftp/vsftpd { };
|
||||
|
||||
wallabag = callPackage ../servers/web-apps/wallabag { };
|
||||
|
Loading…
Reference in New Issue
Block a user