rust-petname: add nix-update-script

This commit is contained in:
Petr Portnov
2025-12-04 22:09:45 +03:00
parent 896a8eca46
commit daaa7d5b71
+3
View File
@@ -3,6 +3,7 @@
rustPlatform,
fetchCrate,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -21,6 +22,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };
meta = {
description = "Generate human readable random names";
homepage = "https://github.com/allenap/rust-petname";