mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
svtplay-dl: 2.4 -> 2.6
This commit is contained in:
parent
0794fb0419
commit
579dfc56ac
1 changed files with 5 additions and 2 deletions
|
@ -8,13 +8,13 @@ let
|
|||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "svtplay-dl";
|
||||
version = "2.4";
|
||||
version = "2.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spaam";
|
||||
repo = "svtplay-dl";
|
||||
rev = version;
|
||||
sha256 = "146ss7pzh61yw84crk6hzfxkfdnf6bq07m11b6lgsw4hsn71g59w";
|
||||
sha256 = "1d969ig4w6irx5822crhpab2f53svpiyf1vfx87irapy309dqy2y";
|
||||
};
|
||||
|
||||
pythonPaths = [ pycrypto pyyaml requests ];
|
||||
|
@ -24,6 +24,9 @@ in stdenv.mkDerivation rec {
|
|||
postPatch = ''
|
||||
substituteInPlace scripts/run-tests.sh \
|
||||
--replace 'PYTHONPATH=lib' 'PYTHONPATH=lib:$PYTHONPATH'
|
||||
|
||||
sed -i '/def test_sublang2\?(/ i\ @unittest.skip("accesses network")' \
|
||||
lib/svtplay_dl/tests/test_postprocess.py
|
||||
'';
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "SYSCONFDIR=$(out)/etc" "PYTHON=${python.interpreter}" ];
|
||||
|
|
Loading…
Reference in a new issue