svtplay-dl: 1.9.6 -> 1.9.7
This commit is contained in:
parent
b986078593
commit
fb5f636cd8
@ -5,13 +5,13 @@ let
|
|||||||
inherit (pythonPackages) python nose pycrypto requests mock;
|
inherit (pythonPackages) python nose pycrypto requests mock;
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "svtplay-dl-${version}";
|
name = "svtplay-dl-${version}";
|
||||||
version = "1.9.6";
|
version = "1.9.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "spaam";
|
owner = "spaam";
|
||||||
repo = "svtplay-dl";
|
repo = "svtplay-dl";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "11xw4whh60k61i8akd7avb254mmffaig72kb7w6prk1kjq05js2s";
|
sha256 = "0zj102ir08s9knqqv8y6vy9rkrgk77xs7kqp00v9fzrlqyspf68r";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonPaths = [ pycrypto requests ];
|
pythonPaths = [ pycrypto requests ];
|
||||||
@ -34,7 +34,12 @@ in stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
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; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/spaam/svtplay-dl;
|
homepage = https://github.com/spaam/svtplay-dl;
|
||||||
|
Loading…
Reference in New Issue
Block a user