mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
4e42cac49d
This change was produced by searching for remaining occurrences of stdenv.lib and replacing them manually. Reference #108938.
31 lines
931 B
Nix
31 lines
931 B
Nix
{stdenv, lib, fetchurl, fetchpatch, ocaml, findlib, camlp4}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "camomile";
|
|
version = "0.8.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/yoriyuki/Camomile/releases/download/rel-0.8.5/camomile-0.8.5.tar.bz2";
|
|
sha256 = "003ikpvpaliy5hblhckfmln34zqz0mk3y2m1fqvbjngh3h2np045";
|
|
};
|
|
|
|
patches = [ (fetchpatch {
|
|
url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/camomile/camomile.0.8.5/files/4.05-typing-fix.patch";
|
|
sha256 = "167279lia6qx62mdcyc5rjsi4gf4yi52wn9mhgd9y1v3754z7fwb";
|
|
})];
|
|
|
|
buildInputs = [ocaml findlib camlp4];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/yoriyuki/Camomile/tree/master/Camomile";
|
|
description = "A comprehensive Unicode library for OCaml";
|
|
license = lib.licenses.lgpl21;
|
|
platforms = ocaml.meta.platforms or [];
|
|
maintainers = [
|
|
lib.maintainers.maggesi
|
|
];
|
|
};
|
|
}
|