diff --git a/pkgs/applications/networking/remote/anydesk/default.nix b/pkgs/applications/networking/remote/anydesk/default.nix index cb3814b55f19..d9dd2fc9127a 100644 --- a/pkgs/applications/networking/remote/anydesk/default.nix +++ b/pkgs/applications/networking/remote/anydesk/default.nix @@ -1,11 +1,11 @@ { stdenv, fetchurl, makeWrapper, makeDesktopItem , atk, cairo, gdk_pixbuf, glib, gnome2, gtk2, libGLU_combined, pango, xorg -, lsb-release }: +, lsb-release, freetype, fontconfig, pangox_compat, polkit, polkit_gnome }: let sha256 = { - "x86_64-linux" = "0g19sac4j3m1nf400vn6qcww7prqg2p4k4zsj74i109kk1396aa2"; - "i686-linux" = "1dd4ai2pclav9g872xil3x67bxy32gvz9pb3w76383pcsdh5zh45"; + "x86_64-linux" = "08kdxsg9npb1nmlr2jyq7p238735kqkp7c5xckxn6rc4cp12n2y2"; + "i686-linux" = "11r5d4234zbkkgyrd7q9x3w7s7lailnq7z4x8cnhpr8vipzrg7h2"; }."${stdenv.hostPlatform.system}" or (throw "system ${stdenv.hostPlatform.system} not supported"); arch = { @@ -27,7 +27,7 @@ let in stdenv.mkDerivation rec { name = "anydesk-${version}"; - version = "2.9.4"; + version = "4.0.1"; src = fetchurl { url = "https://download.anydesk.com/linux/${name}-${arch}.tar.gz"; @@ -36,10 +36,11 @@ in stdenv.mkDerivation rec { buildInputs = [ atk cairo gdk_pixbuf glib gtk2 stdenv.cc.cc pango - gnome2.gtkglext libGLU_combined + gnome2.gtkglext libGLU_combined freetype fontconfig + pangox_compat polkit polkit_gnome ] ++ (with xorg; [ libxcb libX11 libXdamage libXext libXfixes libXi libXmu - libXrandr libXtst + libXrandr libXtst libXt libICE libSM ]); nativeBuildInputs = [ makeWrapper ];