Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / camomile / 0.8.5.nix
blob7726a95cece69f6001b11450c0338d9804ea51f3
1 {stdenv, lib, fetchurl, fetchpatch, ocaml, findlib, camlp4}:
3 stdenv.mkDerivation {
4   pname = "camomile";
5   version = "0.8.5";
7   src = fetchurl {
8     url = "https://github.com/yoriyuki/Camomile/releases/download/rel-0.8.5/camomile-0.8.5.tar.bz2";
9     sha256 = "003ikpvpaliy5hblhckfmln34zqz0mk3y2m1fqvbjngh3h2np045";
10   };
12   patches = [ (fetchpatch {
13     url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/camomile/camomile.0.8.5/files/4.05-typing-fix.patch";
14     sha256 = "167279lia6qx62mdcyc5rjsi4gf4yi52wn9mhgd9y1v3754z7fwb";
15   })];
17   nativeBuildInputs = [ocaml findlib camlp4 ];
19   strictDeps = true;
21   createFindlibDestdir = true;
23   meta = {
24     homepage = "https://github.com/yoriyuki/Camomile/tree/master/Camomile";
25     description = "A comprehensive Unicode library for OCaml";
26     license = lib.licenses.lgpl21;
27     inherit (ocaml.meta) platforms;
28     maintainers = [
29       lib.maintainers.maggesi
30     ];
31   };