mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
geogebra: fallback to web.archive.org
This commit is contained in:
parent
242d950ab3
commit
319dac82d1
1 changed files with 8 additions and 1 deletions
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue