wchisp: use versionCheckHook (#361079)

authored by Aleksana and committed by GitHub d88cb592 c584da64

+4 -5
+4 -5
pkgs/by-name/wc/wchisp/package.nix
··· 6 pkg-config, 7 libusb1, 8 nix-update-script, 9 - testers, 10 - wchisp, 11 }: 12 13 rustPlatform.buildRustPackage rec { ··· 27 libusb1 28 ]; 29 30 passthru = { 31 updateScript = nix-update-script { }; 32 - tests.version = testers.testVersion { 33 - package = wchisp; 34 - }; 35 }; 36 37 meta = {
··· 6 pkg-config, 7 libusb1, 8 nix-update-script, 9 + versionCheckHook, 10 }: 11 12 rustPlatform.buildRustPackage rec { ··· 26 libusb1 27 ]; 28 29 + doInstallCheck = true; 30 + nativeInstallCheckInputs = [ versionCheckHook ]; 31 + 32 passthru = { 33 updateScript = nix-update-script { }; 34 }; 35 36 meta = {