summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2017-01-03 18:01:02 +0100
committerMichael Raskin <7c6f434c@mail.ru>2017-01-03 18:06:46 +0100
commit7c29295deb1ff7c704ef901e1b1a47677859268b (patch)
tree54438fb90974ac4dce8818bbfd7b29f4718897e0 /pkgs/development/compilers
parent0778a1ce3ba0e73b7699bcea46d9852807d3175c (diff)
downloadnixlib-7c29295deb1ff7c704ef901e1b1a47677859268b.tar
nixlib-7c29295deb1ff7c704ef901e1b1a47677859268b.tar.gz
nixlib-7c29295deb1ff7c704ef901e1b1a47677859268b.tar.bz2
nixlib-7c29295deb1ff7c704ef901e1b1a47677859268b.tar.lz
nixlib-7c29295deb1ff7c704ef901e1b1a47677859268b.tar.xz
nixlib-7c29295deb1ff7c704ef901e1b1a47677859268b.tar.zst
nixlib-7c29295deb1ff7c704ef901e1b1a47677859268b.zip
gcl_2_6_13_pre: init at 2.6.13pre50. GCL hasn't had releases for a long time, but there are relatively regular prereleases
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/gcl/2.6.13-pre.nix46
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/development/compilers/gcl/2.6.13-pre.nix b/pkgs/development/compilers/gcl/2.6.13-pre.nix
new file mode 100644
index 000000000000..2a80eccfb403
--- /dev/null
+++ b/pkgs/development/compilers/gcl/2.6.13-pre.nix
@@ -0,0 +1,46 @@
+{ stdenv, fetchgit, mpfr, m4, binutils, fetchcvs, emacs, zlib, which
+, texinfo, libX11, xproto, inputproto, libXi, gmp, readline, strace
+, libXext, xextproto, libXt, libXaw, libXmu } :
+
+assert stdenv ? cc ;
+assert stdenv.cc.isGNU ;
+assert stdenv.cc ? libc ;
+assert stdenv.cc.libc != null ;
+
+stdenv.mkDerivation rec {
+  name = "gcl-${version}";
+  version = "2.6.13pre50";
+
+  src = fetchgit {
+    sha256 = "0vpxb6z5g9fjavrgx8gz8fsjvskfz64f63qibh5s00fvvndlwi88";
+    url = "http://git.savannah.gnu.org/r/gcl.git";
+    rev = "refs/tags/Version_2_6_13pre50";
+  };
+
+  postPatch = ''
+    sed -e 's/<= obj-date/<= (if (= 0 obj-date) 1 obj-date)/' -i lsp/make.lisp
+  '';
+
+  sourceRoot = "gcl/gcl";
+
+  patches = [];
+
+  buildInputs = [
+    mpfr m4 binutils emacs gmp
+    libX11 xproto inputproto libXi
+    libXext xextproto libXt libXaw libXmu
+    zlib which texinfo readline strace
+  ];
+
+  configureFlags = [
+    "--enable-ansi"
+  ];
+
+  hardeningDisable = [ "pic" "bindnow" ];
+
+  meta = {
+    description = "GNU Common Lisp compiler working via GCC";
+    maintainers = [ stdenv.lib.maintainers.raskin ];
+    platforms = stdenv.lib.platforms.linux;
+  };
+}