lol

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 , fetchFromGitHub 4 , libversion 5 , pkg-config 6 , pythonOlder 7 }: 8 ··· 32 buildInputs = [ 33 libversion 34 ]; 35 36 pythonImportsCheck = [ 37 "libversion"
··· 3 , fetchFromGitHub 4 , libversion 5 , pkg-config 6 + , pytestCheckHook 7 , pythonOlder 8 }: 9 ··· 33 buildInputs = [ 34 libversion 35 ]; 36 + 37 + checkInputs = [ 38 + pytestCheckHook 39 + ]; 40 + 41 + preCheck = '' 42 + # import from $out 43 + rm -r libversion 44 + ''; 45 46 pythonImportsCheck = [ 47 "libversion"