ocamlPackages.sexplib_111_25_00: remove at 111.25.00
This is a legacy version for OCaml ≤ 4.02
This commit is contained in:
parent
0cadf9c028
commit
f4a7f9f499
@ -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 [];
|
|
||||||
};
|
|
||||||
}
|
|
@ -770,14 +770,11 @@ let
|
|||||||
then type_conv_108_08_00
|
then type_conv_108_08_00
|
||||||
else null;
|
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_112_24_01 = callPackage ../development/ocaml-modules/sexplib/112.24.01.nix { };
|
||||||
|
|
||||||
sexplib_p4 =
|
sexplib_p4 =
|
||||||
if lib.versionOlder "4.02" ocaml.version
|
if lib.versionOlder "4.02" ocaml.version
|
||||||
then sexplib_112_24_01
|
then sexplib_112_24_01
|
||||||
else if lib.versionOlder "4.00" ocaml.version
|
|
||||||
then sexplib_111_25_00
|
|
||||||
else null;
|
else null;
|
||||||
|
|
||||||
ocaml-protoc = callPackage ../development/ocaml-modules/ocaml-protoc { };
|
ocaml-protoc = callPackage ../development/ocaml-modules/ocaml-protoc { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user