python310Packages.libversion: use pytestCheckHook

authored by

Robert Schütz and committed by
Jonathan Ringer
e59b2e67 4e3a6562

+10
+10
pkgs/development/python-modules/libversion/default.nix
··· 3 3 , fetchFromGitHub 4 4 , libversion 5 5 , pkg-config 6 + , pytestCheckHook 6 7 , pythonOlder 7 8 }: 8 9 ··· 32 33 buildInputs = [ 33 34 libversion 34 35 ]; 36 + 37 + checkInputs = [ 38 + pytestCheckHook 39 + ]; 40 + 41 + preCheck = '' 42 + # import from $out 43 + rm -r libversion 44 + ''; 35 45 36 46 pythonImportsCheck = [ 37 47 "libversion"