···11-{stdenv, fetchurl, gmp}:
11+{ stdenv
22+, fetchurl
33+, gmp
44+}:
55+# will probably be obsolte (or at leat built from the upstream gap sources) soon (gap 4.9?). See
66+# - https://github.com/gap-system/gap/projects/5#card-6239828
77+# - https://github.com/markuspf/gap/issues/2
88+# - https://trac.sagemath.org/ticket/22626
29stdenv.mkDerivation rec {
310 name = "libgap-${version}";
1111+ # Has to be the same version as "gap"
412 version = "4.8.6";
55- # or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
613 src = fetchurl {
77- url = "http://mirrors.mit.edu/sage/spkg/upstream/libgap/libgap-${version}.tar.gz";
1414+ url = "mirror://sageupstream/libgap/libgap-${version}.tar.gz";
815 sha256 = "1h5fx5a55857w583ql7ly2jl49qyx9mvs7j5abys00ra9gzrpn5v";
916 };
1017 buildInputs = [gmp];