3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/camomile/default.nix
2017-11-11 16:56:14 +00:00

28 lines
698 B
Nix

{ stdenv, fetchFromGitHub, ocaml, findlib, jbuilder, cppo }:
stdenv.mkDerivation rec {
version = "0.8.7";
name = "ocaml${ocaml.version}-camomile-${version}";
src = fetchFromGitHub {
owner = "yoriyuki";
repo = "camomile";
rev = "rel-${version}";
sha256 = "0rh58nl5jrnx01hf0yqbdcc2ncx107pq29zblchww82ci0x1xwsf";
};
buildInputs = [ ocaml findlib jbuilder cppo ];
configurePhase = "ocaml configure.ml --share $out/share/camomile";
inherit (jbuilder) installPhase;
meta = {
inherit (ocaml.meta) platforms;
inherit (src.meta) homepage;
maintainers = [ stdenv.lib.maintainers.vbgl ];
license = stdenv.lib.licenses.lgpl21;
description = "A Unicode library for OCaml";
};
}