geogebra: fallback to web.archive.org

This commit is contained in:
Maximilian Bosch 2017-08-18 21:42:50 +02:00
parent 242d950ab3
commit 319dac82d1
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -7,7 +7,14 @@ stdenv.mkDerivation rec {
preferLocalBuild = true;
src = fetchurl {
url = "http://download.geogebra.org/installers/5.0/GeoGebra-Linux-Portable-${version}.tar.bz2";
urls = [
"http://download.geogebra.org/installers/5.0/GeoGebra-Linux-Portable-${version}.tar.bz2"
# Fallback for 5-0-382-0
# To avoid breaks when latest geogebra version is
# removed from `download.geogebra.org`
"http://web.archive.org/web/20170818191250/http://download.geogebra.org/installers/5.0/GeoGebra-Linux-Portable-5-0-382-0.tar.bz2"
];
sha256 = "0xqln1ssm35q8ry4a0ly8rkgw41brmrhn26l6q6r0qqrnw85cnyv";
};