2017-10-19 21:09:20 +00:00
|
|
|
{ stdenv, fetchFromGitHub, ocaml, findlib, jbuilder, cppo }:
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
|
2016-10-05 07:32:30 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2017-10-19 21:09:20 +00:00
|
|
|
version = "0.8.6";
|
|
|
|
name = "ocaml${ocaml.version}-camomile-${version}";
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
|
2017-10-19 21:09:20 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yoriyuki";
|
|
|
|
repo = "camomile";
|
|
|
|
rev = "rel-${version}";
|
|
|
|
sha256 = "1jq1xhaikczk6lbvas7c35aa04q0kjaqd8m54c4jivpj80yvg4x9";
|
|
|
|
};
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
|
2017-10-19 21:09:20 +00:00
|
|
|
buildInputs = [ ocaml findlib jbuilder cppo ];
|
2017-07-13 20:46:03 +00:00
|
|
|
|
2017-10-19 21:09:20 +00:00
|
|
|
configurePhase = "ocaml configure.ml --share $out/share/camomile";
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
|
2017-10-19 21:09:20 +00:00
|
|
|
inherit (jbuilder) installPhase;
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
|
2017-10-19 21:09:20 +00:00
|
|
|
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";
|
|
|
|
};
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
}
|