2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
|
|
|
, astring, base64, digestif, fmt, jsonm, logs, ocaml_lwt, ocamlgraph, uri
|
2020-07-18 16:06:22 +00:00
|
|
|
, alcotest, hex, ppx_irmin
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
buildDunePackage {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "irmin";
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
inherit (ppx_irmin) src version;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
useDune2 = true;
|
|
|
|
minimumOCamlVersion = "4.07";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ astring base64 digestif fmt jsonm logs ocaml_lwt ocamlgraph uri ];
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
checkInputs = [ alcotest hex ppx_irmin ];
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
meta = ppx_irmin.meta // {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A distributed database built on the same principles as Git";
|
|
|
|
};
|
|
|
|
}
|