|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
{stdenv, lib, fetchurl, ocaml, findlib, camlp4}: |
|
|
|
|
{ stdenv, lib, fetchurl, ocaml, findlib, camlp4 }: |
|
|
|
|
|
|
|
|
|
if !lib.versionAtLeast ocaml.version "4.00" |
|
|
|
|
|| lib.versionAtLeast ocaml.version "4.03" |
|
|
|
|
|| lib.versionAtLeast ocaml.version "4.03" |
|
|
|
|
then throw "type_conv-109.60.01 is not available for OCaml ${ocaml.version}" else |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
sha256 = "0lpxri68glgq1z2pp02rp45cb909xywbff8d4idljrf6fzzil2zx"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
buildInputs = [ocaml findlib camlp4]; |
|
|
|
|
buildInputs = [ ocaml findlib camlp4 ]; |
|
|
|
|
|
|
|
|
|
createFindlibDestdir = true; |
|
|
|
|
|
|
|
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
homepage = "http://forge.ocamlcore.org/projects/type-conv/"; |
|
|
|
|
description = "Support library for OCaml preprocessor type conversions"; |
|
|
|
|
license = lib.licenses.lgpl21; |
|
|
|
|
platforms = ocaml.meta.platforms or []; |
|
|
|
|
platforms = ocaml.meta.platforms or [ ]; |
|
|
|
|
maintainers = with lib.maintainers; [ maggesi ]; |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|