summary refs log tree commit diff
diff options
context:
space:
mode:
authorThéo Zimmermann <theo.zimmermann@univ-paris-diderot.fr>2018-10-08 21:09:59 +0200
committerThéo Zimmermann <theo.zimmermann@univ-paris-diderot.fr>2018-10-08 21:09:59 +0200
commitcf1f8b2d0492d21a04aa0b2832be352ea9480b46 (patch)
tree552c99d8db3ae088dee70f58ae8c37de6fad0a4a
parent15aa8caf57c31b8d8c817dce13209f7d4378d1da (diff)
downloadnixpkgs-cf1f8b2d0492d21a04aa0b2832be352ea9480b46.tar
nixpkgs-cf1f8b2d0492d21a04aa0b2832be352ea9480b46.tar.gz
nixpkgs-cf1f8b2d0492d21a04aa0b2832be352ea9480b46.tar.bz2
nixpkgs-cf1f8b2d0492d21a04aa0b2832be352ea9480b46.tar.lz
nixpkgs-cf1f8b2d0492d21a04aa0b2832be352ea9480b46.tar.xz
nixpkgs-cf1f8b2d0492d21a04aa0b2832be352ea9480b46.tar.zst
nixpkgs-cf1f8b2d0492d21a04aa0b2832be352ea9480b46.zip
camlp5: remove old version 5.15
-rw-r--r--pkgs/development/tools/ocaml/camlp5/5.15.nix46
-rw-r--r--pkgs/top-level/ocaml-packages.nix12
2 files changed, 0 insertions, 58 deletions
diff --git a/pkgs/development/tools/ocaml/camlp5/5.15.nix b/pkgs/development/tools/ocaml/camlp5/5.15.nix
deleted file mode 100644
index 2e03bb8025e..00000000000
--- a/pkgs/development/tools/ocaml/camlp5/5.15.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{stdenv, fetchurl, ocaml, transitional ? false}:
-
-let
-  pname = "camlp5";
-  webpage = http://pauillac.inria.fr/~ddr/camlp5/;
-  metafile = ./META;
-in
-
-assert !stdenv.lib.versionOlder "4.00" ocaml.version;
-
-stdenv.mkDerivation rec {
-
-  name = "${pname}${if transitional then "_transitional" else ""}-${version}";
-  version = "5.15";
-
-  src = fetchurl {
-    url = "${webpage}/distrib/src/${pname}-${version}.tgz";
-    sha256 = "1sx5wlfpydqskm97gp7887p3avbl3vanlmrwj35wx5mbzj6kn9nq";
-  };
-
-  buildInputs = [ ocaml ];
-
-  prefixKey = "-prefix ";
-
-  preConfigure = "configureFlagsArray=(" +  (if transitional then "--transitional" else "--strict") +
-                  " --libdir $out/lib/ocaml/${ocaml.version}/site-lib)";
-
-  buildFlags = "world.opt";
-
-  postInstall = "cp ${metafile} $out/lib/ocaml/${ocaml.version}/site-lib/camlp5/META";
-
-  meta = {
-    description = "Preprocessor-pretty-printer for OCaml";
-    longDescription = ''
-      Camlp5 is a preprocessor and pretty-printer for OCaml programs.
-      It also provides parsing and printing tools.
-    '';
-    homepage = "${webpage}";
-    license = stdenv.lib.licenses.bsd3;
-    branch = "5";
-    platforms = ocaml.meta.platforms or [];
-    maintainers = [
-      stdenv.lib.maintainers.z77z
-    ];
-  };
-}
diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix
index 7de4bf3fad4..429f9d3155f 100644
--- a/pkgs/top-level/ocaml-packages.nix
+++ b/pkgs/top-level/ocaml-packages.nix
@@ -88,18 +88,6 @@ let
       then callPackage ../development/tools/ocaml/camlp4 { }
       else null;
 
-    camlp5_old_strict =
-      if lib.versionOlder "4.00" ocaml.version
-      then camlp5_6_strict
-      else callPackage ../development/tools/ocaml/camlp5/5.15.nix { };
-
-    camlp5_old_transitional =
-      if lib.versionOlder "4.00" ocaml.version
-      then camlp5_6_transitional
-      else callPackage ../development/tools/ocaml/camlp5/5.15.nix {
-        transitional = true;
-      };
-
     camlp5_6_strict = callPackage ../development/tools/ocaml/camlp5 { };
 
     camlp5_6_transitional = callPackage ../development/tools/ocaml/camlp5 {