itstool: add versionCheckHook

+4
+4
pkgs/by-name/it/itstool/package.nix
··· 5 fetchpatch, 6 python3, 7 autoreconfHook, 8 }: 9 10 stdenv.mkDerivation rec { ··· 48 postFixup = '' 49 wrapPythonPrograms 50 ''; 51 52 meta = { 53 homepage = "https://itstool.org/";
··· 5 fetchpatch, 6 python3, 7 autoreconfHook, 8 + versionCheckHook, 9 }: 10 11 stdenv.mkDerivation rec { ··· 49 postFixup = '' 50 wrapPythonPrograms 51 ''; 52 + 53 + nativeInstallCheckInputs = [ versionCheckHook ]; 54 + doInstallCheck = true; 55 56 meta = { 57 homepage = "https://itstool.org/";