diff --git a/pkgs/applications/misc/get_iplayer/default.nix b/pkgs/applications/misc/get_iplayer/default.nix new file mode 100644 index 00000000000..1a0453797cc --- /dev/null +++ b/pkgs/applications/misc/get_iplayer/default.nix @@ -0,0 +1,19 @@ +{stdenv, fetchurl, flvstreamer, ffmpeg, makeWrapper, perl}: + +stdenv.mkDerivation { + name = "get_iplayer-2.80"; + + buildInputs = [makeWrapper perl]; + + installPhase = '' + ensureDir $out/bin + cp get_iplayer $out/bin + wrapProgram $out/bin/get_iplayer --suffix PATH ${ffmpeg}/bin:${flvstreamer}/bin + ''; + + src = fetchurl { + url = ftp://ftp.infradead.org/pub/get_iplayer/get_iplayer-2.80.tar.gz; + sha256 = "1hnadryyzca3bv1hfk2q3np9ihwvyxa3prwcrply6ywy4vnayjf8"; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7db30ca64f1..261cefdc64d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6529,6 +6529,8 @@ let gtksharp = gtksharp1; }; + get_iplayer = callPackage ../applications/misc/get_iplayer {}; + gimp = callPackage ../applications/graphics/gimp { inherit (gnome) gtk libart_lgpl; };