@@ -1,8 +1,6 @@
11{ stdenv, lib, fetchurl, xdg_utils, pkgs, pkgsi686Linux }:
22
33let
4− version = "11.0.53191";
5−
64 ld32 =
75 if stdenv.system == "i686-linux" then "${stdenv.cc}/nix-support/dynamic-linker"
86 else if stdenv.system == "x86_64-linux" then "${stdenv.cc}/nix-support/dynamic-linker-m32"
@@ -11,18 +9,20 @@ let
119
1210 mkLdPath = ps: lib.makeLibraryPath (with ps; [ qt4 dbus alsaLib ]);
1311
14− deps = ps: (with ps; [ dbus alsaLib fontconfig freetype libpng libjpeg ]) ++ (with ps.xlibs; [ libX11 libXext libXdamage libXrandr libXrender libXfixes libSM libXtst ]);
12+ deps = ps: (with ps; [ dbus alsaLib fontconfig freetype libpng12 libjpeg ]) ++ (with ps.xlibs; [ libX11 libXext libXdamage libXrandr libXrender libXfixes libSM libXtst ]);
1513 tvldpath32 = lib.makeLibraryPath (with pkgsi686Linux; [ qt4 "$out/share/teamviewer/tv_bin/wine" ] ++ deps pkgsi686Linux);
1614 tvldpath64 = lib.makeLibraryPath (deps pkgs);
17−
1815in
19−stdenv.mkDerivation {
16+
17+stdenv.mkDerivation rec {
2018 name = "teamviewer-${version}";
19+ version = "11.0.57095";
20+
2121 src = fetchurl {
2222 # There is a 64-bit package, but it has no differences apart from Debian dependencies.
2323 # Generic versioned packages (teamviewer_${version}_i386.tar.xz) are not available for some reason.
2424 url = "http://download.teamviewer.com/download/teamviewer_${version}_i386.deb";
25− sha256 = "1yr4c7d6hymw7kvca2jqxzaz6rw5xr66iby77aknd0v4afh4yzz3";
25+ sha256 = "0gdqy6b3np8ndlrq5cwgsys6ad529904133za51r20cj528n7rx3";
2626 };
2727
2828 unpackPhase = ''