diff --git a/pkgs/applications/misc/get_iplayer/default.nix b/pkgs/applications/misc/get_iplayer/default.nix index 0e222366729f..308b181fe88c 100644 --- a/pkgs/applications/misc/get_iplayer/default.nix +++ b/pkgs/applications/misc/get_iplayer/default.nix @@ -1,19 +1,23 @@ -{stdenv, fetchurl, flvstreamer, ffmpeg, makeWrapper, perl}: - -stdenv.mkDerivation { - name = "get_iplayer-2.80"; +{stdenv, fetchurl, flvstreamer, ffmpeg, makeWrapper, perl, buildPerlPackage, perlPackages, vlc, rtmpdump}: +buildPerlPackage { + name = "get_iplayer-2.83"; buildInputs = [makeWrapper perl]; + propagatedBuildInputs = with perlPackages; [HTMLParser HTTPCookies LWP]; + + preConfigure = "touch Makefile.PL"; + doCheck = false; installPhase = '' mkdir -p $out/bin cp get_iplayer $out/bin - wrapProgram $out/bin/get_iplayer --suffix PATH ${ffmpeg}/bin:${flvstreamer}/bin + sed -i 's|^update_script|#update_script|' $out/bin/get_iplayer + wrapProgram $out/bin/get_iplayer --suffix PATH : ${ffmpeg}/bin:${flvstreamer}/bin:${vlc}/bin:${rtmpdump}/bin ''; src = fetchurl { - url = ftp://ftp.infradead.org/pub/get_iplayer/get_iplayer-2.80.tar.gz; - sha256 = "1hnadryyzca3bv1hfk2q3np9ihwvyxa3prwcrply6ywy4vnayjf8"; + url = ftp://ftp.infradead.org/pub/get_iplayer/get_iplayer-2.83.tar.gz; + sha256 = "169zji0rr3z5ng6r4cyzvs89779m4iklln9gsqpryvm81ipalfga"; }; }