1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00
nixpkgs/pkgs/development/ocaml-modules/camomile/default.nix
2017-10-20 07:19:13 +00:00

28 lines
698 B
Nix

{ stdenv, fetchFromGitHub, ocaml, findlib, jbuilder, cppo }:
stdenv.mkDerivation rec {
version = "0.8.6";
name = "ocaml${ocaml.version}-camomile-${version}";
src = fetchFromGitHub {
owner = "yoriyuki";
repo = "camomile";
rev = "rel-${version}";
sha256 = "1jq1xhaikczk6lbvas7c35aa04q0kjaqd8m54c4jivpj80yvg4x9";
};
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";
};
}