wchisp: use versionCheckHook (#361079)

This commit is contained in:
Aleksana 2024-12-08 12:29:50 +08:00 committed by GitHub
commit d88cb592e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,8 +6,7 @@
pkg-config,
libusb1,
nix-update-script,
testers,
wchisp,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
@ -27,11 +26,11 @@ rustPlatform.buildRustPackage rec {
libusb1
];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion {
package = wchisp;
};
};
meta = {