ocaml-typeconv: upgrade to 112.01.01

This commit is contained in:
Eric Merritt 2015-05-11 19:03:56 -05:00
parent 56627d5444
commit 82e098fd93
3 changed files with 26 additions and 2 deletions

View file

@ -0,0 +1,20 @@
{stdenv, fetchurl, buildOcaml}:
buildOcaml rec {
minimumSupportedOcamlVersion = "4.02";
name = "typeconv";
version = "112.01.01";
src = fetchurl {
url = "https://github.com/janestreet/type_conv/archive/${version}.tar.gz";
sha256 = "dbbc33b7ab420e8442d79ba4308ea6c0c16903b310d33525be18841159aa8855";
};
meta = {
homepage = "https://github.com/janestreet/type_conv/";
description = "Support library for preprocessor type conversions";
license = stdenv.lib.licenses.asl20;
maintainers = with stdenv.lib.maintainers; [ z77z ericbmerritt ];
};
}

View file

@ -4294,9 +4294,13 @@ let
};
typeconv_108_08_00 = callPackage ../development/ocaml-modules/typeconv/108.08.00.nix { };
typeconv_109_60_01 = callPackage ../development/ocaml-modules/typeconv/109.60.01.nix { };
typeconv_112_01_01 = callPackage ../development/ocaml-modules/typeconv/112.01.01.nix { };
ocaml_typeconv =
if lib.versionOlder "4.00" ocaml_version
then callPackage ../development/ocaml-modules/typeconv { }
if lib.versionOlder "4.02" ocaml_version
then typeconv_112_01_01
else if lib.versionOlder "4.00" ocaml_version
then typeconv_109_60_01
else if lib.versionOlder "3.12" ocaml_version
then typeconv_108_08_00
else null;