remove vmagent (has now been upstreamed)

This commit is contained in:
Vivian 2022-10-20 10:54:24 +02:00
parent 2f348356bc
commit 272285ceea
6 changed files with 31 additions and 165 deletions

View file

@ -2,8 +2,6 @@
final: prev: {
catppuccin.cursors = prev.callPackage ./catppuccin/cursors { };
vmagent = prev.callPackage ./vmagent { };
v = {
glitch-soc = prev.callPackage ./glitch-soc { };
@ -21,7 +19,8 @@ final: prev: {
gitea-agatheme = prev.callPackage ./gitea-agatheme { };
vscode-extensions = {
platformio.platformio-ide = prev.callPackage ./vscode-extensions/platformio.nix { };
platformio.platformio-ide =
prev.callPackage ./vscode-extensions/platformio.nix { };
};
};
}

View file

@ -1,26 +0,0 @@
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "vmagent";
version = "1.82.0";
src = fetchFromGitHub {
owner = "VictoriaMetrics";
repo = "VictoriaMetrics";
rev = "v${version}";
sha256 = "JIl2WeveDoAHzqJ2cqMxpWeNf4yQC9fIdfECOJywJ2A=";
};
ldflags = [ "-s" "-w" "-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${version}" ];
vendorSha256 = 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 ];
};
}