depot/third_party/nixpkgs/pkgs/development/ocaml-modules/camomile/0.8.2.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
785 B
Nix

{stdenv, fetchurl, ocaml, findlib, camlp4}:
if stdenv.lib.versionAtLeast ocaml.version "4.05"
then throw "camomile-0.8.2 is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
pname = "camomile";
version = "0.8.2";
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 = stdenv.lib.licenses.lgpl21;
branch = "0.8.2";
platforms = ocaml.meta.platforms or [];
maintainers = [
stdenv.lib.maintainers.maggesi
];
};
}