nixpkgs/pkgs/applications/networking/skype/default.nix
Peter Simons 6fb297513a Committing Lluís Batlle's submissions from mailing list posting
<45219fb00901110456i6f21db35tbd1894eaea2146ff@mail.gmail.com>:

 * nixpkgs-ccrypt-1.7-new.patch
 * nixpkgs-cmake-add-ccmake.patch
 * nixpkgs-cpufrequtils-005-new.patch
 * nixpkgs-dwm-5.1-fix.patch
 * nixpkgs-freeimage-3.11.0-new.patch
 * nixpkgs-proxychains-3.1-new.patch
 * nixpkgs-psi-to-0.12.patch
 * nixpkgs-skype-to-2.0.0.72.patch
 * nixpkgs-truecrypt-6.1a-fix.patch
 * nixpkgs-vxl-1.11.0-new.patch
 * nixpkgs-xkb-popular-esperanto-symbols.patch
 * nixpkgs-xorg-via-video-fix.patch

svn path=/nixpkgs/trunk/; revision=13751
2009-01-12 21:12:07 +00:00

65 lines
1.3 KiB
Nix

args: with args;
stdenv.mkDerivation ( rec {
pname = "skype";
version = "2.0.0.72";
name = "skype-2.0";
src = fetchurl {
url = http://www.skype.com/go/getskype-linux-static;
sha256 = "2f37963e8f19c0ec5efd8631abe9633b6551f09dee024460c40fad10728bc580";
name = "${pname}_static-${version}.tar.bz2";
};
buildInputs = [
alsaLib
glibc
gcc.gcc
libSM
libICE
libXi
libXv
libXScrnSaver
libXrender
libXrandr
libXfixes
libXcursor
libXinerama
freetype
fontconfig
libXext
libX11
fontconfig
libsigcxx
];
phases = "unpackPhase installPhase";
installPhase ="
ensureDir \$out/{opt/skype/,bin};
cp -r * \$out/opt/skype/;
cat >\$out/bin/skype << EOF
#!/bin/sh
\$out/opt/skype/skype
EOF
chmod +x \$out/bin/skype
fullPath=
for i in \$buildInputs; do
fullPath=\$fullPath\${fullPath:+:}\$i/lib
done
echo patchelf --interpreter \"\$(cat \$NIX_GCC/nix-support/dynamic-linker)\" \\
--set-rpath \$fullPath \\
\$out/opt/skype/skype
patchelf --interpreter \"\$(cat \$NIX_GCC/nix-support/dynamic-linker)\" \\
--set-rpath \$fullPath \\
\$out/opt/skype/skype
";
meta = {
description = "A P2P-VoiceIP client";
homepage = http://www.skype.com;
license = "skype-eula";
};
})