svtplay-dl: fix path to test runner

This commit is contained in:
Robin Gloster 2016-08-27 21:55:37 +00:00
parent 3f4caa111f
commit d80ad66701
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -22,7 +22,7 @@ in stdenv.mkDerivation rec {
substituteInPlace lib/svtplay_dl/fetcher/rtmp.py \
--replace '"rtmpdump"' '"${rtmpdump}/bin/rtmpdump"'
substituteInPlace run-tests.sh \
substituteInPlace scripts/run-tests.sh \
--replace 'PYTHONPATH=lib' 'PYTHONPATH=lib:$PYTHONPATH'
'';
@ -34,7 +34,7 @@ in stdenv.mkDerivation rec {
'';
doCheck = true;
checkPhase = "sh run-tests.sh -2";
checkPhase = "sh scripts/run-tests.sh -2";
meta = with stdenv.lib; {
homepage = https://github.com/spaam/svtplay-dl;