wchisp: use versionCheckHook (#361079)

This commit is contained in:
Aleksana
2024-12-08 12:29:50 +08:00
committed by GitHub
+4 -5
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 = {