svtplay-dl: use nose3 for Python 3.11

This commit is contained in:
Aaron Jheng 2023-11-13 09:43:56 +00:00
parent 5d50cc4fd5
commit 73a65850e0
No known key found for this signature in database
GPG key ID: F6A547A869D050A3

View file

@ -12,7 +12,7 @@
let
inherit (python3Packages)
python pytest nose cryptography pyyaml requests mock requests-mock
python pytest nose3 cryptography pyyaml requests mock requests-mock
python-dateutil setuptools;
version = "4.28.1";
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
pythonPaths = [ cryptography pyyaml requests ];
buildInputs = [ python perl python-dateutil setuptools ] ++ pythonPaths;
nativeBuildInputs = [ gitMinimal zip makeWrapper ];
nativeCheckInputs = [ nose pytest mock requests-mock ];
nativeCheckInputs = [ nose3 pytest mock requests-mock ];
postPatch = ''
substituteInPlace scripts/run-tests.sh \