d274ee3f80
Camlp4 is a software system for writing extensible parsers for programming languages. Camlp4 was part of the official OCaml distribution until its version 4.01.0. Homepage: https://github.com/ocaml/camlp4
29 lines
769 B
Nix
29 lines
769 B
Nix
{stdenv, fetchurl, ocaml, findlib, camlp4}:
|
|
|
|
let
|
|
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
|
in
|
|
|
|
assert stdenv.lib.versionOlder "4.00" ocaml_version;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ocaml-typeconv-109.60.01";
|
|
|
|
src = fetchurl {
|
|
url = https://github.com/janestreet/type_conv/archive/109.60.01.tar.gz;
|
|
sha256 = "0lpxri68glgq1z2pp02rp45cb909xywbff8d4idljrf6fzzil2zx";
|
|
};
|
|
|
|
buildInputs = [ocaml findlib camlp4];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = {
|
|
homepage = "http://forge.ocamlcore.org/projects/type-conv/";
|
|
description = "Support library for OCaml preprocessor type conversions";
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
platforms = ocaml.meta.platforms;
|
|
maintainers = with stdenv.lib.maintainers; [ z77z ];
|
|
};
|
|
}
|