3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/camomile/default.nix

25 lines
550 B
Nix
Raw Normal View History

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