tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Merge #14800: get_iplayer: fix outputs and add man page
Vladimír Čunát
9 years ago
6e8a1cfb
55a82158
+4
-2
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
get_iplayer
default.nix
+4
-2
pkgs/applications/misc/get_iplayer/default.nix
···
7
8
preConfigure = "touch Makefile.PL";
9
doCheck = false;
0
10
11
patchPhase = ''
12
sed -e 's|^update_script|#update_script|' \
···
15
'';
16
17
installPhase = ''
18
-
mkdir -p $out/bin
19
cp get_iplayer $out/bin
20
wrapProgram $out/bin/get_iplayer --suffix PATH : ${ffmpeg.bin}/bin:${flvstreamer}/bin:${vlc}/bin:${rtmpdump}/bin --prefix PERL5LIB : $PERL5LIB
21
-
'';
0
22
23
src = fetchurl {
24
url = ftp://ftp.infradead.org/pub/get_iplayer/get_iplayer-2.94.tar.gz;
···
7
8
preConfigure = "touch Makefile.PL";
9
doCheck = false;
10
+
outputs = [ "out" "man" ];
11
12
patchPhase = ''
13
sed -e 's|^update_script|#update_script|' \
···
16
'';
17
18
installPhase = ''
19
+
mkdir -p $out/bin $out/share/man/man1
20
cp get_iplayer $out/bin
21
wrapProgram $out/bin/get_iplayer --suffix PATH : ${ffmpeg.bin}/bin:${flvstreamer}/bin:${vlc}/bin:${rtmpdump}/bin --prefix PERL5LIB : $PERL5LIB
22
+
cp get_iplayer.1 $out/share/man/man1
23
+
'';
24
25
src = fetchurl {
26
url = ftp://ftp.infradead.org/pub/get_iplayer/get_iplayer-2.94.tar.gz;