svtplay-dl: 4.0 -> 4.1
Also add basic install check.
This commit is contained in:
parent
f40fa6014e
commit
d44ce53e07
1 changed files with 9 additions and 2 deletions
|
@ -8,13 +8,13 @@ let
|
|||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "svtplay-dl";
|
||||
version = "4.0";
|
||||
version = "4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spaam";
|
||||
repo = "svtplay-dl";
|
||||
rev = version;
|
||||
sha256 = "01q03v6a2rkw49z5nbm5mghm0qmmm12pq3amsiiiv5j6m9p0fdsy";
|
||||
sha256 = "0b0q4k5aacw2nna5higr6sk5lsdn62lw2l9lccfy5s3m530banni";
|
||||
};
|
||||
|
||||
pythonPaths = [ cryptography pyyaml requests ];
|
||||
|
@ -43,6 +43,13 @@ in stdenv.mkDerivation rec {
|
|||
sh scripts/run-tests.sh -2
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
$out/bin/svtplay-dl --help > /dev/null
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/spaam/svtplay-dl";
|
||||
description = "Command-line tool to download videos from svtplay.se and other sites";
|
||||
|
|
Loading…
Reference in a new issue