From 213da5a54729c8d323b4ee92681ca5ce6128ca46 Mon Sep 17 00:00:00 2001 From: Michael Brantley Date: Sun, 16 Feb 2025 11:48:38 -0500 Subject: [PATCH] t3: init at 1.0.8 Co-authored-by: nayeko <196556004+nayeko@users.noreply.github.com> Co-authored-by: Moraxyc --- pkgs/by-name/t3/t3/package.nix | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pkgs/by-name/t3/t3/package.nix diff --git a/pkgs/by-name/t3/t3/package.nix b/pkgs/by-name/t3/t3/package.nix new file mode 100644 index 000000000000..c1b05db9d3ce --- /dev/null +++ b/pkgs/by-name/t3/t3/package.nix @@ -0,0 +1,38 @@ +{ + fetchFromGitHub, + help2man, + lib, + nix-update-script, + stdenv, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "t3"; + version = "1.0.8"; + + src = fetchFromGitHub { + owner = "flox"; + repo = "t3"; + tag = "v${finalAttrs.version}"; + hash = "sha256-SaSBFqMh6zOty0mnYL4RJxAxbB1LJusKLdMn7Atv+As="; + }; + + makeFlags = [ + "PREFIX=$(out)" + "VERSION=${finalAttrs.version}" + ]; + nativeBuildInputs = [ help2man ]; + doCheck = true; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Next generation tee with colorized output streams and precise time stamping"; + homepage = "https://github.com/flox/t3"; + changelog = "https://github.com/flox/t3/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ limeytexan ]; + platforms = lib.platforms.unix; + mainProgram = "t3"; + }; +})