cell: init at 0.5.0

This commit is contained in:
airRnot1106
2026-05-06 21:14:36 +09:00
parent d5561ec04e
commit 120c3b005b

View File

@@ -0,0 +1,36 @@
{
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cell";
version = "0.5.0";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "garritfra";
repo = "cell";
tag = "v${finalAttrs.version}";
hash = "sha256-J13D46ttG7KlePyFZYxqjaMF7ZR5m3nTJ8/GLm4VH5o=";
};
cargoHash = "sha256-ZQXyt/hL6wamGrFvmrShoUCTSGAo8V5CuejAzO5oCuU=";
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Fast terminal spreadsheet editor with Vim keybindings";
homepage = "https://github.com/garritfra/cell";
changelog = "https://github.com/garritfra/cell/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ airrnot ];
mainProgram = "cell";
};
})