3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #52992 from azazel75/anydesk_401

Upgrade Anydesk package to version 4.0.1
This commit is contained in:
Silvan Mosberger 2019-01-10 04:04:17 +01:00 committed by GitHub
commit 0b96dc8740
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];