git.iko.soy/typeable/nixpkgs
on master help sign in
svtplay-dl: 4.0 -> 4.1

Also add basic install check.

commitd44ce53e070fc80bd5a2e1a1067fc6a0b008da8c authorRobert Helgesson <robert@rycee.net> dateWed 14 Jul 2021, 15:00 (5 years ago) parentf40fa60
1 file changed+9−2
pkgs/tools/misc/svtplay-dl/default.nix+9−2
pkgs/tools/misc/svtplay-dl/default.nix+9−2
@@ -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";