okapi-ed: add nix-update-script passthru, changelog

This commit is contained in:
Nadir Ishiguro
2026-04-19 14:57:31 +02:00
parent 7ccf0f93e5
commit c1f8fc71c5
+4
View File
@@ -5,6 +5,7 @@
ripgrep,
rustPlatform,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
__structuredAttrs = true;
@@ -31,9 +32,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Find lines across files by regex and edit them all at once with your $EDITOR";
homepage = "https://github.com/nk9/okapi";
changelog = "https://github.com/nk9/okapi/releases/tag/v${finalAttrs.version}";
license = lib.licenses.asl20;
mainProgram = "okapi";
platforms = lib.platforms.unix;