@@ -1,10 +1,10 @@
11{ stdenv, fetchurl, dpkg, makeWrapper
2−, alsaLib, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, glib, glibc, gnome2, libsecret
3−, libnotify, nspr, nss, systemd, xorg, libv4l, libstdcxx5 }:
2+, alsaLib, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, glib, glibc, gnome2
3+, libnotify, libpulseaudio, libsecret, libstdcxx5, libv4l, nspr, nss, systemd, xorg }:
44
55let
66
7− version = "5.5.0.1";
7+ version = "8.11.0.4";
88
99 rpath = stdenv.lib.makeLibraryPath [
1010 alsaLib
@@ -17,9 +17,8 @@ let
1717 fontconfig
1818 freetype
1919 glib
20− libsecret
2120 glibc
22− libstdcxx5
21+ libsecret
2322
2423 gnome2.GConf
2524 gnome2.gdk_pixbuf
@@ -29,10 +28,12 @@ let
2928 gnome2.gnome_keyring
3029
3130 libnotify
31+ libpulseaudio
3232 nspr
3333 nss
3434 stdenv.cc.cc
3535 systemd
36+ libstdcxx5
3637 libv4l
3738
3839 xorg.libxkbfile
@@ -54,7 +55,7 @@ let
5455 if stdenv.system == "x86_64-linux" then
5556 fetchurl {
5657 url = "https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb";
57− sha256 = "1r65qlsjwp0n0fmlhvbp71h03b3x73r26jk9f4q687sjqnzmkvcr";
58+ sha256 = "1dq7k4zlqqsx7786phialia5xbpc3cp1wrjhqrvga09yg4dl505c";
5859 }
5960 else
6061 throw "Skype for linux is not supported on ${stdenv.system}";
@@ -82,8 +83,8 @@ in stdenv.mkDerivation {
8283
8384 postFixup = ''
8485 for file in $(find $out -type f \( -perm /0111 -o -name \*.so\* -or -name \*.node\* \) ); do
85− patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$file" || true
86− patchelf --set-rpath ${rpath}:$out/share/skypeforlinux $file || true
86+ patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$file" || true
87+ patchelf --set-rpath ${rpath}:$out/share/skypeforlinux $file || true
8788 done
8889
8990 ln -s "$out/share/skypeforlinux/skypeforlinux" "$out/bin/skypeforlinux"
@@ -92,15 +93,13 @@ in stdenv.mkDerivation {
9293 substituteInPlace $out/share/applications/skypeforlinux.desktop \
9394 --replace /usr/bin/ $out/bin/ \
9495 --replace /usr/share/ $out/share/
95−
9696 '';
9797
9898 meta = with stdenv.lib; {
9999 description = "Linux client for skype";
100100 homepage = https://www.skype.com;
101101 license = licenses.unfree;
102− maintainers = with stdenv.lib.maintainers; [ panaeon ];
102+ maintainers = with stdenv.lib.maintainers; [ panaeon jraygauthier ];
103103 platforms = [ "x86_64-linux" ];
104104 };
105105}
106−