depot/third_party/nixpkgs/pkgs/development/compilers/gcl/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

37 lines
860 B
Nix

{ lib, stdenv, fetchurl, mpfr, m4, binutils, emacs, zlib, which
, 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";
version = "2.6.14";
src = fetchurl {
url = "mirror://gnu/gcl/gcl-${version}.tar.gz";
hash = "sha256-CfNBfFEqoXM6Y4gJ06Y6wpDuuUSL6CeV9bZoG9MHNFo=";
};
buildInputs = [
mpfr m4 binutils emacs gmp
libX11 xorgproto libXi
libXext libXt libXaw libXmu
zlib which texinfo
];
configureFlags = [
"--enable-ansi"
];
meta = with lib; {
description = "GNU Common Lisp compiler working via GCC";
mainProgram = "gcl";
maintainers = lib.teams.lisp.members;
license = licenses.gpl2;
platforms = platforms.linux;
};
}