nixpkgs/pkgs/development/ocaml-modules/camomile/default.nix

27 lines
576 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildDunePackage, cppo }:
2019-08-09 08:42:57 +00:00
buildDunePackage rec {
pname = "camomile";
version = "1.0.2";
2021-02-27 17:04:19 +00:00
useDune2 = true;
src = fetchFromGitHub {
owner = "yoriyuki";
repo = pname;
rev = version;
sha256 = "00i910qjv6bpk0nkafp5fg97isqas0bwjf7m6rz11rsxilpalzad";
};
buildInputs = [ cppo ];
configurePhase = "ocaml configure.ml --share $out/share/camomile";
meta = {
inherit (src.meta) homepage;
maintainers = [ lib.maintainers.vbgl ];
license = lib.licenses.lgpl21;
description = "A Unicode library for OCaml";
};
}