diff --git a/pkgs/applications/networking/instant-messengers/skype/default.nix b/pkgs/applications/networking/instant-messengers/skype/default.nix index 51e9a623444f..7eee9f37ecca 100644 --- a/pkgs/applications/networking/instant-messengers/skype/default.nix +++ b/pkgs/applications/networking/instant-messengers/skype/default.nix @@ -5,21 +5,21 @@ assert stdenv.system == "i686-linux"; stdenv.mkDerivation rec { - name = "skype-4.0.0.7"; + name = "skype-4.0.0.8"; src = fetchurl { url = "http://download.skype.com/linux/${name}.tar.bz2"; - sha256 = "0mrswawqsv53mfghqlj1bzq0jfswha6b0c06px7snd85pd4gn5fn"; + sha256 = "0gq24rbmjd05ihraarn45rwr79gidnwgllvprzrh5zqx02xll17p"; }; - buildInputs = + buildInputs = lib.optional usePulseAudio pulseaudio ++ [ alsaLib - stdenv.glibc + stdenv.glibc stdenv.gcc.gcc libXv - libXext - libX11 + libXext + libX11 qt4 libXScrnSaver libSM @@ -36,8 +36,8 @@ stdenv.mkDerivation rec { phases = "unpackPhase installPhase"; installPhase = '' - mkdir -p $out/{opt/skype/,bin} - cp -r * $out/opt/skype/ + mkdir -p $out/{libexec/skype/,bin} + cp -r * $out/libexec/skype/ fullPath= for i in $buildNativeInputs; do @@ -45,18 +45,18 @@ stdenv.mkDerivation rec { done dynlinker="$(cat $NIX_GCC/nix-support/dynamic-linker)" - + cat > $out/bin/skype << EOF #!${stdenv.shell} export LD_LIBRARY_PATH=$fullPath:$LD_LIBRARY_PATH - $dynlinker $out/opt/skype/skype --resources=$out/opt/skype "\$@" + $dynlinker $out/libexec/skype/skype --resources=$out/libexec/skype "\$@" EOF chmod +x $out/bin/skype # Fixup desktop file substituteInPlace skype.desktop --replace \ - "Icon=skype.png" "Icon=$out/opt/skype/icons/SkypeBlue_48x48.png" + "Icon=skype.png" "Icon=$out/libexec/skype/icons/SkypeBlue_48x48.png" substituteInPlace skype.desktop --replace \ "Terminal=0" "Terminal=false" mkdir -p $out/share/applications @@ -64,8 +64,8 @@ stdenv.mkDerivation rec { ''; meta = { - description = "A P2P-VoiceIP client"; - homepage = http://www.skype.com; - license = "skype-eula"; + description = "A proprietary voice-over-IP (VoIP) client"; + homepage = http://www.skype.com/; + license = "unfree"; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6e7f76a7ea97..a5c3f2503b63 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7667,7 +7667,7 @@ let siproxd = callPackage ../applications/networking/siproxd { }; - skype_linux = callPackage_i686 ../applications/networking/instant-messengers/skype { + skype = callPackage_i686 ../applications/networking/instant-messengers/skype { usePulseAudio = config.pulseaudio or false; # disabled by default (the 100% cpu bug) };