diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-06-07 10:11:31 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-06-07 10:15:17 +0200 |
commit | cb6ffc170b86c2725a91243b8e02e9bb54ceb929 (patch) | |
tree | f05e41ed5b3967af8862c1c980544c9f422b3dea | |
parent | f4a7f9f4991d2ff321f84a2b6e7a323a61e88a0c (diff) | |
download | nixlib-cb6ffc170b86c2725a91243b8e02e9bb54ceb929.tar nixlib-cb6ffc170b86c2725a91243b8e02e9bb54ceb929.tar.gz nixlib-cb6ffc170b86c2725a91243b8e02e9bb54ceb929.tar.bz2 nixlib-cb6ffc170b86c2725a91243b8e02e9bb54ceb929.tar.lz nixlib-cb6ffc170b86c2725a91243b8e02e9bb54ceb929.tar.xz nixlib-cb6ffc170b86c2725a91243b8e02e9bb54ceb929.tar.zst nixlib-cb6ffc170b86c2725a91243b8e02e9bb54ceb929.zip |
ocamlPackages.sexplib_112_24_01: remove at 112.24.01
This is a legacy version for OCaml ≤ 4.02
-rw-r--r-- | pkgs/development/ocaml-modules/sexplib/112.24.01.nix | 25 | ||||
-rw-r--r-- | pkgs/top-level/ocaml-packages.nix | 9 |
2 files changed, 1 insertions, 33 deletions
diff --git a/pkgs/development/ocaml-modules/sexplib/112.24.01.nix b/pkgs/development/ocaml-modules/sexplib/112.24.01.nix deleted file mode 100644 index fe7b9020dae2..000000000000 --- a/pkgs/development/ocaml-modules/sexplib/112.24.01.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ stdenv, buildOcaml, fetchurl, ocaml, type_conv, camlp4 }: - -if !stdenv.lib.versionAtLeast ocaml.version "4.02" -|| stdenv.lib.versionAtLeast ocaml.version "4.03" -then throw "sexlib-112.24.01 is not available for OCaml ${ocaml.version}" else - -buildOcaml rec { - minimumSupportedOcamlVersion = "4.02"; - name = "sexplib"; - version = "112.24.01"; - - src = fetchurl { - url = "https://github.com/janestreet/sexplib/archive/${version}.tar.gz"; - sha256 = "5f776aee295cc51c952aecd4b74b52dd2b850c665cc25b3d69bc42014d3ba073"; - }; - - propagatedBuildInputs = [ type_conv camlp4 ]; - - meta = with stdenv.lib; { - homepage = "https://ocaml.janestreet.com/"; - description = "Library for serializing OCaml values to and from S-expressions"; - license = licenses.asl20; - maintainers = [ maintainers.ericbmerritt ]; - }; -} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index ac78eab4a94e..87d67e5e8e65 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -770,13 +770,6 @@ let then type_conv_108_08_00 else null; - sexplib_112_24_01 = callPackage ../development/ocaml-modules/sexplib/112.24.01.nix { }; - - sexplib_p4 = - if lib.versionOlder "4.02" ocaml.version - then sexplib_112_24_01 - else null; - ocaml-protoc = callPackage ../development/ocaml-modules/ocaml-protoc { }; ocaml_extlib = callPackage ../development/ocaml-modules/extlib { }; @@ -1127,7 +1120,7 @@ let then janeStreet.sexplib else if lib.versionOlder "4.02" ocaml.version then callPackage ../development/ocaml-modules/janestreet/sexplib.nix {} - else sexplib_p4; + else null; variantslib = if lib.versionOlder "4.03" ocaml.version |