nomino: add nix-update-script

This commit is contained in:
Petr Portnov
2026-03-29 15:28:52 +03:00
parent 1cd388b49d
commit 236793dc4e

View File

@@ -2,6 +2,8 @@
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -17,10 +19,15 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-daHhCr55RzIHooGXBK831SYD1b8NPEDD6mtDut6nuaQ=";
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Batch rename utility for developers";
homepage = "https://github.com/yaa110/nomino";
changelog = "https://github.com/yaa110/nomino/releases/tag/${finalAttrs.src.rev}";
changelog = "https://github.com/yaa110/nomino/releases/tag/v${finalAttrs.version}";
license = with lib.licenses; [
mit # or
asl20