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