infrastructure/nixos/pkgs/vmagent/default.nix

24 lines
588 B
Nix
Raw Normal View History

2022-07-29 13:02:03 +02:00
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "vmagent";
version = "1.79.0";
src = fetchFromGitHub {
owner = "VictoriaMetrics";
repo = "VictoriaMetrics";
rev = "v${version}";
sha256 = "sha256-+LirbGbKeazXMtgVh5kZP+KEk/fDbSxceZ26OlE0hbY=";
};
vendorSha256 = null;
subPackages = [ "app/vmagent" ];
meta = with lib; {
description = "VictoriaMetrics metrics scraper";
homepage = "https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/app/vmagent";
license = licenses.asl20;
platforms = platforms.linux;
};
}