From 120c3b005b4efc9edd3e9231ffbc17d37e4088e1 Mon Sep 17 00:00:00 2001 From: airRnot1106 <62370527+airRnot1106@users.noreply.github.com> Date: Wed, 6 May 2026 21:14:36 +0900 Subject: [PATCH] cell: init at 0.5.0 --- pkgs/by-name/ce/cell/package.nix | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/by-name/ce/cell/package.nix diff --git a/pkgs/by-name/ce/cell/package.nix b/pkgs/by-name/ce/cell/package.nix new file mode 100644 index 000000000000..191570862f2b --- /dev/null +++ b/pkgs/by-name/ce/cell/package.nix @@ -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"; + }; +})