diff --git a/pkgs/tools/misc/svtplay-dl/default.nix b/pkgs/tools/misc/svtplay-dl/default.nix index 5999fa316223..f0fa1c198885 100644 --- a/pkgs/tools/misc/svtplay-dl/default.nix +++ b/pkgs/tools/misc/svtplay-dl/default.nix @@ -5,13 +5,13 @@ let inherit (pythonPackages) python nose pycrypto requests mock; in stdenv.mkDerivation rec { name = "svtplay-dl-${version}"; - version = "1.9.6"; + version = "1.9.7"; src = fetchFromGitHub { owner = "spaam"; repo = "svtplay-dl"; rev = version; - sha256 = "11xw4whh60k61i8akd7avb254mmffaig72kb7w6prk1kjq05js2s"; + sha256 = "0zj102ir08s9knqqv8y6vy9rkrgk77xs7kqp00v9fzrlqyspf68r"; }; pythonPaths = [ pycrypto requests ]; @@ -34,7 +34,12 @@ in stdenv.mkDerivation rec { ''; doCheck = true; - checkPhase = "sh scripts/run-tests.sh -2"; + checkPhase = '' + sed -i "/def test_parse_m3u8/i\\ + @unittest.skip('requires internet')" lib/svtplay_dl/tests/hls.py + + sh scripts/run-tests.sh -2 + ''; meta = with stdenv.lib; { homepage = https://github.com/spaam/svtplay-dl;