1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

svtplay-dl: 1.9.6 -> 1.9.7

This commit is contained in:
Robert Helgesson 2018-01-14 20:45:17 +01:00
parent b986078593
commit fb5f636cd8
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -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;