lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.05-pre 33 lines 687 B view raw
1{ lib, fetchFromGitHub, buildGoModule }: 2 3buildGoModule rec { 4 pname = "mtail"; 5 version = "3.0.0-rc52"; 6 7 src = fetchFromGitHub { 8 owner = "google"; 9 repo = "mtail"; 10 rev = "v${version}"; 11 hash = "sha256-F3UNvt7OicZJVcUgn5dQb7KjH0k3QOYOYDLrVpI5D64="; 12 }; 13 14 vendorHash = "sha256-KD75KHXrXXm5FMXeFInNTDsVsclyqTfsfQiB3Br+F1A="; 15 16 doCheck = false; 17 18 subPackages = [ "cmd/mtail" ]; 19 20 preBuild = '' 21 go generate -x ./internal/vm/ 22 ''; 23 24 ldflags = [ 25 "-X main.Version=${version}" 26 ]; 27 28 meta = with lib; { 29 license = licenses.asl20; 30 homepage = "https://github.com/google/mtail"; 31 description = "Tool for extracting metrics from application logs"; 32 }; 33}