Skip to content

Commit 54e6ce6

Browse files
authored
get_iplayer: 3.35 -> 3.36 (#404307)
2 parents 536471e + 38f704a commit 54e6ce6

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

pkgs/by-name/ge/get_iplayer/package.nix

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,19 @@
88
perl,
99
atomicparsley,
1010
ffmpeg,
11+
testers,
12+
get_iplayer,
1113
}:
1214

1315
perlPackages.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";

0 commit comments

Comments
 (0)