depot/third_party/nixpkgs/pkgs/development/compilers/gcl/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

36 lines
835 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";
maintainers = lib.teams.lisp.members;
license = licenses.gpl2;
platforms = platforms.linux;
};
}