diff --git a/pkgs/tools/misc/tailspin/default.nix b/pkgs/tools/misc/tailspin/default.nix new file mode 100644 index 000000000000..741f7bcf2c1b --- /dev/null +++ b/pkgs/tools/misc/tailspin/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "tailspin"; + version = "0.1"; + + src = fetchFromGitHub { + owner = "bensadeh"; + repo = pname; + rev = version; + sha256 = "sha256-ReWgbAmEGpNOv6QArNT+eWaty88tChhH1nhH0vZe2/E="; + }; + + vendorSha256 = "sha256-rZJO/TSGrYwrtIKQpKhZZqnXY6IHNyjS26vBDv/iQ34="; + + CGO_ENABLED = 0; + + subPackages = [ "." ]; + + meta = with lib; { + description = "A log file highlighter and a drop-in replacement for `tail -f`"; + homepage = "https://github.com/bensadeh/tailspin"; + license = licenses.mit; + maintainers = with maintainers; [ dit7ya ]; + mainProgram = "spin"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 01034566a665..d9e100896f38 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24348,6 +24348,8 @@ with pkgs; tailscale = callPackage ../servers/tailscale { }; + tailspin = callPackage ../tools/misc/tailspin { }; + thanos = callPackage ../servers/monitoring/thanos { }; trafficserver = callPackage ../servers/http/trafficserver { };