3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.sexplib_111_25_00: remove at 111.25.00

This is a legacy version for OCaml ≤ 4.02
This commit is contained in:
Vincent Laporte 2020-06-07 10:11:27 +02:00
parent 0cadf9c028
commit f4a7f9f499
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 0 additions and 31 deletions

View file

@ -1,28 +0,0 @@
{stdenv, fetchurl, ocaml, findlib, type_conv, camlp4}:
if !stdenv.lib.versionAtLeast ocaml.version "4.00"
|| stdenv.lib.versionAtLeast ocaml.version "4.03"
then throw "sexlib-111.25.00 is not available for OCaml ${ocaml.version}" else
stdenv.mkDerivation {
name = "ocaml-sexplib-111.25.00";
src = fetchurl {
url = "https://ocaml.janestreet.com/ocaml-core/111.25.00/individual/sexplib-111.25.00.tar.gz";
sha256 = "0qh0zqp5nakqpmmhh4x7cg03vqj3j2bj4zj0nqdlksai188p9ila";
};
buildInputs = [ocaml findlib];
propagatedBuildInputs = [type_conv camlp4];
createFindlibDestdir = true;
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.vbgl maintainers.ericbmerritt ];
platforms = ocaml.meta.platforms or [];
};
}

View file

@ -770,14 +770,11 @@ let
then type_conv_108_08_00
else null;
sexplib_111_25_00 = callPackage ../development/ocaml-modules/sexplib/111.25.00.nix { };
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 if lib.versionOlder "4.00" ocaml.version
then sexplib_111_25_00
else null;
ocaml-protoc = callPackage ../development/ocaml-modules/ocaml-protoc { };