2016-10-11 13:41:44 +01:00
|
|
|
{stdenv, fetchurl, gmp}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libgap-${version}";
|
2018-02-27 04:28:28 +00:00
|
|
|
version = "4.8.6";
|
2016-10-11 13:41:44 +01:00
|
|
|
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://mirrors.mit.edu/sage/spkg/upstream/libgap/libgap-${version}.tar.gz";
|
2018-02-27 04:28:28 +00:00
|
|
|
sha256 = "1h5fx5a55857w583ql7ly2jl49qyx9mvs7j5abys00ra9gzrpn5v";
|
2016-10-11 13:41:44 +01:00
|
|
|
};
|
|
|
|
buildInputs = [gmp];
|
|
|
|
meta = {
|
|
|
|
inherit version;
|
|
|
|
description = ''A library-packaged fork of the GAP kernel'';
|
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|