From 2379cfc4ed98a88ce2c2b394b6768c0429f05da9 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 25 Mar 2018 10:08:43 +0200 Subject: [PATCH] geogebra: add archive.org link for 5-0-444-0 The `geogebra` package is subject to break as upstream removes versioned packages from their download server when five new releases are comming. This is why I had to fix almost monthly the package by bumping the version (these can be found by running `git log --online | grep geogebra:`). As the package didn't cause any issues for several months now I guess that using `archive.org` seems to be a suitable solution for now. /cc @sternenseemann @matthewbauer --- pkgs/applications/science/math/geogebra/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/science/math/geogebra/default.nix b/pkgs/applications/science/math/geogebra/default.nix index b486d01a409..9e2c55d567c 100644 --- a/pkgs/applications/science/math/geogebra/default.nix +++ b/pkgs/applications/science/math/geogebra/default.nix @@ -7,7 +7,10 @@ stdenv.mkDerivation rec { preferLocalBuild = true; src = fetchurl { - urls = "https://download.geogebra.org/installers/5.0/GeoGebra-Linux-Portable-${version}.tar.bz2"; + urls = [ + "https://download.geogebra.org/installers/5.0/GeoGebra-Linux-Portable-${version}.tar.bz2" + "http://web.archive.org/web/20180325075100/http://download.geogebra.org/installers/5.0/GeoGebra-Linux-Portable-${version}.tar.bz2" + ]; sha256 = "1x2h40m62zbhmy42hln5gjj3fwk4b6803v3k9agpv5c6j468sq0p"; };