Files
nixpkgs/pkgs/development/compilers/gambit/default.nix
T

32 lines
908 B
Nix
Raw Normal View History

2017-06-02 20:26:44 -04:00
{ stdenv, fetchurl, openssl }:
2010-05-28 06:01:35 +00:00
2014-10-24 23:04:42 -05:00
stdenv.mkDerivation rec {
name = "gambit-${version}";
2017-06-02 20:26:44 -04:00
version = "4.8.6";
devver = "4_8_6";
2010-05-28 06:01:35 +00:00
2014-10-24 23:04:42 -05:00
src = fetchurl {
2016-04-08 01:23:22 -07:00
url = "http://www.iro.umontreal.ca/~gambit/download/gambit/v4.8/source/gambit-v${devver}-devel.tgz";
2017-06-02 20:26:44 -04:00
sha256 = "0j3ka76cfb007rlcc3nv5p1s6vh31cwp87hwwabawf16vs1jb7bl";
2010-05-28 06:01:35 +00:00
};
2014-10-24 23:04:42 -05:00
2017-06-02 20:26:44 -04: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 ];
2014-10-24 23:04:42 -05:00
meta = {
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 ];
};
}