File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
pkgs/by-name/ge/get_iplayer Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 88 perl ,
99 atomicparsley ,
1010 ffmpeg ,
11+ testers ,
12+ get_iplayer ,
1113} :
1214
1315perlPackages . buildPerlPackage rec {
1416 pname = "get_iplayer" ;
15- version = "3.35 " ;
17+ version = "3.36 " ;
1618
1719 src = fetchFromGitHub {
1820 owner = "get-iplayer" ;
1921 repo = "get_iplayer" ;
2022 rev = "v${ version } " ;
21- hash = "sha256-fqzrgmtqy7dlmGEaTXAqpdt9HqZCVooJ0Vf6/JUKihw =" ;
23+ hash = "sha256-O/mVtbudrYw0jKeSckZlgonFDiWxfeiVc8gdcy4iNBw =" ;
2224 } ;
2325
2426 nativeBuildInputs = [ makeWrapper ] ++ lib . optional stdenv . hostPlatform . isDarwin shortenPerlShebang ;
@@ -56,6 +58,12 @@ perlPackages.buildPerlPackage rec {
5658 shortenPerlShebang $out/bin/.get_iplayer-wrapped
5759 '' ;
5860
61+ passthru . tests . version = testers . testVersion {
62+ package = get_iplayer ;
63+ command = "HOME=$(mktemp -d) get_iplayer --help" ;
64+ version = "v${ version } " ;
65+ } ;
66+
5967 meta = with lib ; {
6068 description = "Downloads TV and radio programmes from BBC iPlayer and BBC Sounds" ;
6169 mainProgram = "get_iplayer" ;
You can’t perform that action at this time.
0 commit comments