t3: init at 1.0.8
Co-authored-by: nayeko <196556004+nayeko@users.noreply.github.com> Co-authored-by: Moraxyc <i@moraxyc.com>
This commit is contained in:
co-authored by
nayeko
Moraxyc
parent
9e4d5190a9
commit
213da5a547
@@ -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";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user