about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2022-03-22 07:41:02 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2022-03-22 07:58:42 +0100
commit0b4b78170b2b617b34602175fe9ffb6c7b55b75e (patch)
tree9fecda987425d84dc292dc44a7747a24e6b170db /pkgs
parent5b874cadbf5059da4975f91bbb5b39543bbd47bf (diff)
downloadnixlib-0b4b78170b2b617b34602175fe9ffb6c7b55b75e.tar
nixlib-0b4b78170b2b617b34602175fe9ffb6c7b55b75e.tar.gz
nixlib-0b4b78170b2b617b34602175fe9ffb6c7b55b75e.tar.bz2
nixlib-0b4b78170b2b617b34602175fe9ffb6c7b55b75e.tar.lz
nixlib-0b4b78170b2b617b34602175fe9ffb6c7b55b75e.tar.xz
nixlib-0b4b78170b2b617b34602175fe9ffb6c7b55b75e.tar.zst
nixlib-0b4b78170b2b617b34602175fe9ffb6c7b55b75e.zip
ocamlPackages.enumerate: remove at 111.08.00 (broken with OCaml ≥ 4.02)
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/ocaml-modules/enumerate/default.nix31
-rw-r--r--pkgs/top-level/ocaml-packages.nix2
2 files changed, 0 insertions, 33 deletions
diff --git a/pkgs/development/ocaml-modules/enumerate/default.nix b/pkgs/development/ocaml-modules/enumerate/default.nix
deleted file mode 100644
index 9bedc4215108..000000000000
--- a/pkgs/development/ocaml-modules/enumerate/default.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, type_conv, camlp4 }:
-
-assert lib.versionAtLeast (lib.getVersion ocaml) "4.00";
-
-if lib.versionAtLeast ocaml.version "4.06"
-then throw "enumerate-111.08.00 is not available for OCaml ${ocaml.version}"
-else
-
-stdenv.mkDerivation rec {
-  pname = "ocaml-enumerate";
-  version = "111.08.00";
-
-  src = fetchurl {
-    url = "https://ocaml.janestreet.com/ocaml-core/${lib.versions.majorMinor version}.00/individual/enumerate-${version}.tar.gz";
-    sha256 = "0b6mx5p01lcpimvak4wx6aj2119707wsfzd83rwgb91bhpgzh156";
-  };
-
-  nativeBuildInputs = [ ocaml findlib ocamlbuild ];
-  propagatedBuildInputs = [ type_conv camlp4 ];
-
-  strictDeps = true;
-
-  createFindlibDestdir = true;
-
-  meta = {
-    homepage = "https://ocaml.janestreet.com/";
-    description = "Quotation expanders for enumerating finite types";
-    license = lib.licenses.asl20;
-    platforms = ocaml.meta.platforms or [ ];
-  };
-}
diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix
index cc126dc320de..30c116245972 100644
--- a/pkgs/top-level/ocaml-packages.nix
+++ b/pkgs/top-level/ocaml-packages.nix
@@ -358,8 +358,6 @@ let
 
     emile = callPackage ../development/ocaml-modules/emile { };
 
-    enumerate = callPackage ../development/ocaml-modules/enumerate { };
-
     eqaf = callPackage ../development/ocaml-modules/eqaf { };
 
     erm_xml = callPackage ../development/ocaml-modules/erm_xml { };