svtplay-dl: 2.2 -> 2.4
This commit is contained in:
parent
789760aa10
commit
77eef5529f
@ -2,20 +2,23 @@
|
|||||||
, gitMinimal }:
|
, gitMinimal }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (python3Packages) python nose pycrypto pyyaml requests mock;
|
|
||||||
|
inherit (python3Packages)
|
||||||
|
python nose pycrypto pyyaml requests mock python-dateutil setuptools;
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "svtplay-dl";
|
pname = "svtplay-dl";
|
||||||
version = "2.2";
|
version = "2.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "spaam";
|
owner = "spaam";
|
||||||
repo = "svtplay-dl";
|
repo = "svtplay-dl";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "02yjz17x8dl5spn7mcbj1ji7vsyx0qwwa60zqyrdxpr03g1rnhdz";
|
sha256 = "146ss7pzh61yw84crk6hzfxkfdnf6bq07m11b6lgsw4hsn71g59w";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonPaths = [ pycrypto pyyaml requests ];
|
pythonPaths = [ pycrypto pyyaml requests ];
|
||||||
buildInputs = [ python perl nose mock makeWrapper ] ++ pythonPaths;
|
buildInputs = [ python perl nose mock makeWrapper python-dateutil setuptools ] ++ pythonPaths;
|
||||||
nativeBuildInputs = [ gitMinimal zip ];
|
nativeBuildInputs = [ gitMinimal zip ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -32,9 +35,6 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
sed -i "/def test_parse_m3u8/i\\
|
|
||||||
@unittest.skip('requires internet')" lib/svtplay_dl/tests/hls.py
|
|
||||||
|
|
||||||
sh scripts/run-tests.sh -2
|
sh scripts/run-tests.sh -2
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user