xh: add updateScript

This commit is contained in:
Defelo 2025-05-22 23:11:00 +02:00
parent e13c1026dc
commit 66516a0bf5
No known key found for this signature in database
GPG key ID: 2A05272471204DD3

View file

@ -8,6 +8,7 @@
stdenv,
openssl,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@ -63,6 +64,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };
meta = {
description = "Friendly and fast tool for sending HTTP requests";
homepage = "https://github.com/ducaale/xh";