ocaml-sexplib: upgrade to 112.24.01
This commit is contained in:
parent
8751d1ea1a
commit
cac000d73a
@ -7,7 +7,7 @@ in
|
||||
assert stdenv.lib.versionOlder "4.00" ocaml_version;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-sexplib-111.25.0";
|
||||
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;
|
||||
@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
||||
homepage = https://ocaml.janestreet.com/;
|
||||
description = "Library for serializing OCaml values to and from S-expressions";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.vbgl ];
|
||||
maintainers = [ maintainers.vbgl maintainers.ericbmerritt ];
|
||||
platforms = ocaml.meta.platforms;
|
||||
};
|
||||
}
|
21
pkgs/development/ocaml-modules/sexplib/112.24.01.nix
Normal file
21
pkgs/development/ocaml-modules/sexplib/112.24.01.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{stdenv, buildOcaml, fetchurl, type_conv, camlp4}:
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -4304,10 +4304,14 @@ let
|
||||
else null;
|
||||
|
||||
sexplib_108_08_00 = callPackage ../development/ocaml-modules/sexplib/108.08.00.nix { };
|
||||
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 { };
|
||||
|
||||
ocaml_sexplib =
|
||||
if lib.versionOlder "4.00" ocaml_version
|
||||
then callPackage ../development/ocaml-modules/sexplib { }
|
||||
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 if lib.versionOlder "3.12" ocaml_version
|
||||
then sexplib_108_08_00
|
||||
else null;
|
||||
|
Loading…
Reference in New Issue
Block a user