ocamlPackages.sexplib_112_24_01: remove at 112.24.01
This is a legacy version for OCaml ≤ 4.02
This commit is contained in:
parent
f4a7f9f499
commit
cb6ffc170b
|
@ -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 ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -770,13 +770,6 @@ let
|
||||||
then type_conv_108_08_00
|
then type_conv_108_08_00
|
||||||
else null;
|
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-protoc = callPackage ../development/ocaml-modules/ocaml-protoc { };
|
||||||
|
|
||||||
ocaml_extlib = callPackage ../development/ocaml-modules/extlib { };
|
ocaml_extlib = callPackage ../development/ocaml-modules/extlib { };
|
||||||
|
@ -1127,7 +1120,7 @@ let
|
||||||
then janeStreet.sexplib
|
then janeStreet.sexplib
|
||||||
else if lib.versionOlder "4.02" ocaml.version
|
else if lib.versionOlder "4.02" ocaml.version
|
||||||
then callPackage ../development/ocaml-modules/janestreet/sexplib.nix {}
|
then callPackage ../development/ocaml-modules/janestreet/sexplib.nix {}
|
||||||
else sexplib_p4;
|
else null;
|
||||||
|
|
||||||
variantslib =
|
variantslib =
|
||||||
if lib.versionOlder "4.03" ocaml.version
|
if lib.versionOlder "4.03" ocaml.version
|
||||||
|
|
Loading…
Reference in New Issue