2021-01-11 12:49:15 +00:00
|
|
|
{stdenv, lib, fetchurl, fetchpatch, ocaml, findlib, camlp4}:
|
2017-10-19 21:09:20 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "camomile";
|
2017-10-19 21:09:20 +00:00
|
|
|
version = "0.8.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "https://github.com/yoriyuki/Camomile/releases/download/rel-0.8.5/camomile-0.8.5.tar.bz2";
|
2017-10-19 21:09:20 +00:00
|
|
|
sha256 = "003ikpvpaliy5hblhckfmln34zqz0mk3y2m1fqvbjngh3h2np045";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ (fetchpatch {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/camomile/camomile.0.8.5/files/4.05-typing-fix.patch";
|
2017-10-19 21:09:20 +00:00
|
|
|
sha256 = "167279lia6qx62mdcyc5rjsi4gf4yi52wn9mhgd9y1v3754z7fwb";
|
|
|
|
})];
|
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
nativeBuildInputs = [ocaml findlib camlp4 ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
2017-10-19 21:09:20 +00:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/yoriyuki/Camomile/tree/master/Camomile";
|
2017-10-19 21:09:20 +00:00
|
|
|
description = "A comprehensive Unicode library for OCaml";
|
2021-01-11 12:49:15 +00:00
|
|
|
license = lib.licenses.lgpl21;
|
2022-05-10 17:36:58 +00:00
|
|
|
inherit (ocaml.meta) platforms;
|
2017-10-19 21:09:20 +00:00
|
|
|
maintainers = [
|
2021-01-11 12:49:15 +00:00
|
|
|
lib.maintainers.maggesi
|
2017-10-19 21:09:20 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|