2018-09-05 18:11:47 +02:00
|
|
|
{ stdenv, fetchFromGitHub, ocaml, findlib, dune, 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 16:40:04 +01:00
|
|
|
|
2016-10-05 09:32:30 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2018-10-04 02:24:28 +02:00
|
|
|
version = "1.0.1";
|
2017-10-19 23:09:20 +02:00
|
|
|
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 16:40:04 +01:00
|
|
|
|
2017-10-19 23:09:20 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yoriyuki";
|
|
|
|
repo = "camomile";
|
2018-10-04 02:24:28 +02:00
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "1pfxr9kzkpd5bsdqrpxasfxkawwkg4cpx3m1h6203sxi7qv1z3fn";
|
2017-10-19 23:09:20 +02:00
|
|
|
};
|
* 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 16:40:04 +01:00
|
|
|
|
2018-09-05 18:11:47 +02:00
|
|
|
buildInputs = [ ocaml findlib dune cppo ];
|
2017-07-13 22:46:03 +02:00
|
|
|
|
2017-10-19 23:09:20 +02: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 16:40:04 +01:00
|
|
|
|
2018-09-05 18:11:47 +02:00
|
|
|
inherit (dune) 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 16:40:04 +01:00
|
|
|
|
2017-10-19 23:09:20 +02: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 16:40:04 +01:00
|
|
|
}
|