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

25 lines
533 B
Nix
Raw Normal View History

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