tuxedo: init at 2026.5.12 (#526577)

This commit is contained in:
Yohann Boniface
2026-06-02 21:51:27 +00:00
committed by GitHub
+53
View File
@@ -0,0 +1,53 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "tuxedo";
version = "2026.5.12";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "webstonehq";
repo = "tuxedo";
tag = "v${finalAttrs.version}";
hash = "sha256-s4GIHq4kjj+FiNBJJjWeXmg4f40ARUILzwsEl0CDV1o=";
};
cargoHash = "sha256-rIdjrwNuY0DySdk4jc880JrFgoIuKTYEcx6XoSfllp4=";
preCheck = ''
export HOME="$TMPDIR/home"
export XDG_CONFIG_HOME="$TMPDIR/config"
export XDG_CACHE_HOME="$TMPDIR/cache"
export XDG_STATE_HOME="$TMPDIR/state"
mkdir -p \
"$HOME" \
"$XDG_CONFIG_HOME" \
"$XDG_CACHE_HOME" \
"$XDG_STATE_HOME"
'';
passthru.updateScript = nix-update-script { };
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
checkFlags = [
# Failure
"--skip=insert_dialog_after_nl_parse"
];
meta = {
description = "fast, keyboard-driven terminal UI for todo.txt";
homepage = "https://github.com/webstonehq/tuxedo";
changelog = "https://github.com/webstonehq/tuxedo/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ iogamaster ];
mainProgram = "tuxedo";
};
})