about summary refs log tree commit diff
path: root/pkgs/development/compilers/ocaml
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2017-12-08 23:39:51 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2017-12-09 12:18:06 +0000
commit9a072a466cd7f4aaba91c1302a2c895425cb8491 (patch)
tree53a4c0af9e9bdc695ec22f40e05012abb41f478d /pkgs/development/compilers/ocaml
parent08dfb9567320a64a082408fc157e62a09ae2df14 (diff)
downloadnixlib-9a072a466cd7f4aaba91c1302a2c895425cb8491.tar
nixlib-9a072a466cd7f4aaba91c1302a2c895425cb8491.tar.gz
nixlib-9a072a466cd7f4aaba91c1302a2c895425cb8491.tar.bz2
nixlib-9a072a466cd7f4aaba91c1302a2c895425cb8491.tar.lz
nixlib-9a072a466cd7f4aaba91c1302a2c895425cb8491.tar.xz
nixlib-9a072a466cd7f4aaba91c1302a2c895425cb8491.tar.zst
nixlib-9a072a466cd7f4aaba91c1302a2c895425cb8491.zip
Remove broken ber-metaocaml-003 attribute
Diffstat (limited to 'pkgs/development/compilers/ocaml')
-rw-r--r--pkgs/development/compilers/ocaml/ber-metaocaml-003.nix72
1 files changed, 0 insertions, 72 deletions
diff --git a/pkgs/development/compilers/ocaml/ber-metaocaml-003.nix b/pkgs/development/compilers/ocaml/ber-metaocaml-003.nix
deleted file mode 100644
index c95d29326a4e..000000000000
--- a/pkgs/development/compilers/ocaml/ber-metaocaml-003.nix
+++ /dev/null
@@ -1,72 +0,0 @@
-{ stdenv, fetchurl, ncurses, xlibsWrapper }:
-
-let
-   useX11 = stdenv.isi686 || stdenv.isx86_64;
-   useNativeCompilers = stdenv.isi686 || stdenv.isx86_64 || stdenv.isMips;
-   inherit (stdenv.lib) optionals optionalString;
-in
-
-stdenv.mkDerivation rec {
-  
-  name = "ber-metaocaml-${version}";
-  version = "003";
-  
-  src = fetchurl {
-    url = "http://caml.inria.fr/pub/distrib/ocaml-3.11/ocaml-3.11.2.tar.bz2";
-    sha256 = "0hw1yp1mmfyn1pmda232d0ry69m7ln1z0fn5lgi8nz3y1mx3iww6";
-  };
-
-  metaocaml = fetchurl {
-    url = "http://okmij.org/ftp/ML/ber-metaocaml.tar.gz";
-    sha256 = "1kq1if25c1wvcdiy4g46xk05dkc1am2gc4qvmg4x19wvvaz09gzf";
-  };
-
-  # Needed to avoid a SIGBUS on the final executable on mips
-  NIX_CFLAGS_COMPILE = if stdenv.isMips then "-fPIC" else "";
-
-  patches = optionals stdenv.isDarwin [ ./gnused-on-osx-fix.patch ];
-
-  prefixKey = "-prefix ";
-  configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" xlibsWrapper ];
-  buildFlags = "core coreboot all"; # "world" + optionalString useNativeCompilers " bootstrap world.opt";
-  buildInputs = [ncurses] ++ optionals useX11 [ xlibsWrapper ];
-  installFlags = "-i";
-  installTargets = "install"; # + optionalString useNativeCompilers " installopt";
-  prePatch = ''
-    CAT=$(type -tp cat)
-    sed -e "s@/bin/cat@$CAT@" -i config/auto-aux/sharpbang
-    patch -p0 < ${./mips64.patch}
-  '';
-  postConfigure = ''
-    tar -xvzf $metaocaml
-    cd ${name}
-    make patch
-    cd ..
-  '';
-  postBuild = ''
-    mkdir -p $out/include
-    ln -sv $out/lib/ocaml/caml $out/include/caml
-  '';
-  postInstall = ''
-    cd ${name}
-    make all
-    make install
-    make test
-    make test-compile
-    cd ..
-  '';
-
-  meta = with stdenv.lib; {
-    homepage = "http://okmij.org/ftp/ML/index.html#ber-metaocaml";
-    license = with licenses; [
-      qpl /* compiler */
-      lgpl2 /* library */
-    ];
-    description = "Conservative extension of OCaml";
-    longDescription = ''
-      A conservative extension of OCaml with the primitive type of code values,
-      and three basic multi-stage expression forms: Brackets, Escape, and Run
-    '';
-    broken = true;
-  };
-}