mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
c508b4cf04
svn path=/nixpkgs/trunk/; revision=28912
20 lines
490 B
Nix
20 lines
490 B
Nix
{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";
|
|
};
|
|
|
|
}
|