1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/development/ocaml-modules/camomile/default.nix

25 lines
550 B
Nix

{ stdenv, fetchFromGitHub, buildDunePackage, cppo }:
buildDunePackage rec {
pname = "camomile";
version = "1.0.1";
src = fetchFromGitHub {
owner = "yoriyuki";
repo = pname;
rev = version;
sha256 = "1pfxr9kzkpd5bsdqrpxasfxkawwkg4cpx3m1h6203sxi7qv1z3fn";
};
buildInputs = [ cppo ];
configurePhase = "ocaml configure.ml --share $out/share/camomile";
meta = {
inherit (src.meta) homepage;
maintainers = [ stdenv.lib.maintainers.vbgl ];
license = stdenv.lib.licenses.lgpl21;
description = "A Unicode library for OCaml";
};
}