@@ -8,13 +8,13 @@ let
88
99in stdenv.mkDerivation rec {
1010 pname = "svtplay-dl";
11− version = "4.0";
11+ version = "4.1";
1212
1313 src = fetchFromGitHub {
1414 owner = "spaam";
1515 repo = "svtplay-dl";
1616 rev = version;
17− sha256 = "01q03v6a2rkw49z5nbm5mghm0qmmm12pq3amsiiiv5j6m9p0fdsy";
17+ sha256 = "0b0q4k5aacw2nna5higr6sk5lsdn62lw2l9lccfy5s3m530banni";
1818 };
1919
2020 pythonPaths = [ cryptography pyyaml requests ];
@@ -43,6 +43,13 @@ in stdenv.mkDerivation rec {
4343 sh scripts/run-tests.sh -2
4444 '';
4545
46+ doInstallCheck = true;
47+ installCheckPhase = ''
48+ runHook preInstallCheck
49+ $out/bin/svtplay-dl --help > /dev/null
50+ runHook postInstallCheck
51+ '';
52+
4653 meta = with lib; {
4754 homepage = "https://github.com/spaam/svtplay-dl";
4855 description = "Command-line tool to download videos from svtplay.se and other sites";