2017-06-03 01:26:44 +01:00
|
|
|
{ stdenv, fetchurl, openssl }:
|
2010-05-28 07:01:35 +01:00
|
|
|
|
2014-10-25 05:04:42 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gambit-${version}";
|
2017-06-03 01:26:44 +01:00
|
|
|
version = "4.8.6";
|
|
|
|
devver = "4_8_6";
|
2014-10-25 05:04:42 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-04-08 09:23:22 +01:00
|
|
|
url = "http://www.iro.umontreal.ca/~gambit/download/gambit/v4.8/source/gambit-v${devver}-devel.tgz";
|
2017-06-03 01:26:44 +01:00
|
|
|
sha256 = "0j3ka76cfb007rlcc3nv5p1s6vh31cwp87hwwabawf16vs1jb7bl";
|
2014-10-25 05:04:42 +01:00
|
|
|
};
|
|
|
|
|
2017-06-03 01:26:44 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-single-host"
|
|
|
|
"--enable-shared"
|
|
|
|
"--enable-absolute-shared-libs"
|
|
|
|
"--enable-c-opt=-O6" "--enable-gcc-opts" "--enable-inline-jumps"
|
|
|
|
"--enable-thread-system=posix" "--enable-dynamic-tls"
|
|
|
|
"--enable-openssl"
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
2010-05-28 07:01:35 +01:00
|
|
|
|
|
|
|
meta = {
|
2014-10-25 05:04:42 +01:00
|
|
|
description = "Optimizing Scheme to C compiler";
|
|
|
|
homepage = "http://gambitscheme.org";
|
|
|
|
license = stdenv.lib.licenses.lgpl2;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ thoughtpolice raskin ];
|
2010-05-28 07:01:35 +01:00
|
|
|
};
|
2014-10-25 05:04:42 +01:00
|
|
|
}
|