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
680 B
Nix
29 lines
680 B
Nix
{stdenv, fetchurl, ocaml, findlib, camlp4}:
|
|
|
|
let
|
|
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
|
version = "0.8.2";
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "camomile-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/camomile/camomile-${version}.tar.bz2";
|
|
sha256 = "0x43pjxx70kgip86mmdn08s97k4qzdqc8i79xfyyx28smy1bsa00";
|
|
};
|
|
|
|
buildInputs = [ocaml findlib camlp4];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = {
|
|
homepage = http://camomile.sourceforge.net/;
|
|
description = "A comprehensive Unicode library for OCaml";
|
|
license = "LGPL";
|
|
platforms = ocaml.meta.platforms;
|
|
maintainers = [
|
|
stdenv.lib.maintainers.z77z
|
|
];
|
|
};
|
|
}
|