mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
nomino: add nix-update-script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user