2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, mpfr, m4, binutils, emacs, zlib, which
|
2020-04-24 23:36:52 +00:00
|
|
|
, texinfo, libX11, xorgproto, libXi, gmp
|
|
|
|
, libXext, libXt, libXaw, libXmu } :
|
|
|
|
|
|
|
|
assert stdenv ? cc ;
|
|
|
|
assert stdenv.cc.isGNU ;
|
|
|
|
assert stdenv.cc ? libc ;
|
|
|
|
assert stdenv.cc.libc != null ;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gcl";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "2.6.14";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-01-13 08:15:51 +00:00
|
|
|
url = "mirror://gnu/gcl/gcl-${version}.tar.gz";
|
|
|
|
hash = "sha256-CfNBfFEqoXM6Y4gJ06Y6wpDuuUSL6CeV9bZoG9MHNFo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
mpfr m4 binutils emacs gmp
|
|
|
|
libX11 xorgproto libXi
|
|
|
|
libXext libXt libXaw libXmu
|
|
|
|
zlib which texinfo
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-ansi"
|
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "GNU Common Lisp compiler working via GCC";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "gcl";
|
2023-04-12 12:48:02 +00:00
|
|
|
maintainers = lib.teams.lisp.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|