anydesk: 4.0.1 -> 5.1.2

This commit is contained in:
Soner Sayakci 2019-10-01 17:27:17 +02:00
parent 7929af8818
commit db8704bfe7
No known key found for this signature in database
GPG key ID: C744D31BC99BCBB9

View file

@ -4,22 +4,22 @@
let
sha256 = {
x86_64-linux = "08kdxsg9npb1nmlr2jyq7p238735kqkp7c5xckxn6rc4cp12n2y2";
i686-linux = "11r5d4234zbkkgyrd7q9x3w7s7lailnq7z4x8cnhpr8vipzrg7h2";
x86_64-linux = "0mixw2sk7li1hjagibwzdgbfnrih5acricczqmfks1gsinjqrn82";
i386-linux = "1gshd4vm8ysn636r1z44vmzdzrgybsmj8ma4zdabvs9jsbm2da3c";
}.${stdenv.hostPlatform.system} or (throw "system ${stdenv.hostPlatform.system} not supported");
arch = {
x86_64-linux = "amd64";
i686-linux = "i686";
i386-linux = "i386";
}.${stdenv.hostPlatform.system} or (throw "system ${stdenv.hostPlatform.system} not supported");
description = "Desktop sharing application, providing remote support and online meetings";
desktopItem = makeDesktopItem {
name = "anydesk";
name = "AnyDesk";
exec = "@out@/bin/anydesk";
icon = "anydesk";
desktopName = "anydesk";
desktopName = "AnyDesk";
genericName = description;
categories = "Application;Network;";
startupNotify = "false";
@ -27,7 +27,7 @@ let
in stdenv.mkDerivation rec {
pname = "anydesk";
version = "4.0.1";
version = "5.1.2";
src = fetchurl {
url = "https://download.anydesk.com/linux/${pname}-${version}-${arch}.tar.gz";
@ -40,7 +40,7 @@ in stdenv.mkDerivation rec {
pangox_compat polkit polkit_gnome
] ++ (with xorg; [
libxcb libX11 libXdamage libXext libXfixes libXi libXmu
libXrandr libXtst libXt libICE libSM
libXrandr libXtst libXt libICE libSM libXrender
]);
nativeBuildInputs = [ makeWrapper ];
@ -50,7 +50,7 @@ in stdenv.mkDerivation rec {
mkdir -p $out/bin $out/share/{applications,doc/anydesk,icons/hicolor}
install -m755 anydesk $out/bin/anydesk
cp changelog copyright README $out/share/doc/anydesk
cp copyright README $out/share/doc/anydesk
cp -r icons/* $out/share/icons/hicolor/
cp ${desktopItem}/share/applications/*.desktop $out/share/applications
@ -75,6 +75,6 @@ in stdenv.mkDerivation rec {
homepage = https://www.anydesk.com;
license = licenses.unfree;
platforms = platforms.linux;
maintainers = with maintainers; [ peterhoeg ];
maintainers = with maintainers; [ shyim ];
};
}