anydesk: Provide alternative URL

anydesk moves tar archives of older versions into a sub folder linux-generic, which breaks this package.  Use two URLs to take care of both recent and older versions.
This commit is contained in:
Daniel Jour 2019-12-12 22:04:27 +01:00 committed by GitHub
parent c2ae05d597
commit 59f9137d69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,10 @@ in stdenv.mkDerivation rec {
version = "5.5.1";
src = fetchurl {
url = "https://download.anydesk.com/linux/${pname}-${version}-${arch}.tar.gz";
urls = [
"https://download.anydesk.com/linux/${pname}-${version}-${arch}.tar.gz"
"https://download.anydesk.com/linux/generic-linux/${pname}-${version}-${arch}.tar.gz"
];
inherit sha256;
};