svtplay-dl: fix build for Python 3.12
For now we simply disable checks for 3.12 and later. Also enable pre and post check hooks.
This commit is contained in:
@@ -51,9 +51,13 @@ stdenv.mkDerivation rec {
|
||||
--prefix PYTHONPATH : "$PYTHONPATH"
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
doCheck = python3Packages.pythonOlder "3.12";
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
sh scripts/run-tests.sh -2
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
Reference in New Issue
Block a user