2021-10-06 18:49:20 +02:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, ocaml, 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
|
|
|
|
2019-08-09 10:42:57 +02:00
|
|
|
buildDunePackage rec {
|
2018-11-05 11:21:46 +01:00
|
|
|
pname = "camomile";
|
2021-01-21 01:24:35 +01:00
|
|
|
version = "1.0.2";
|
* 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
|
|
|
|
2021-02-27 18:04:19 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2021-01-21 01:24:35 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yoriyuki";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "00i910qjv6bpk0nkafp5fg97isqas0bwjf7m6rz11rsxilpalzad";
|
|
|
|
};
|
* 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
|
|
|
|
2022-02-22 10:59:04 +01:00
|
|
|
nativeBuildInputs = [ cppo ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
2017-07-13 22:46:03 +02:00
|
|
|
|
2021-09-06 03:21:14 +02:00
|
|
|
configurePhase = ''
|
|
|
|
runHook preConfigure
|
|
|
|
ocaml configure.ml --share $out/share/camomile
|
|
|
|
runHook postConfigure
|
|
|
|
'';
|
* 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
|
|
|
|
2021-10-06 18:49:20 +02:00
|
|
|
postInstall = ''
|
|
|
|
echo "version = \"${version}\"" >> $out/lib/ocaml/${ocaml.version}/site-lib/camomile/META
|
|
|
|
'';
|
|
|
|
|
2021-01-21 01:24:35 +01:00
|
|
|
meta = {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
license = 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
|
|
|
}
|