2019-12-09 10:29:01 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
|
|
|
, astring, base64, digestif, fmt, jsonm, logs, ocaml_lwt, ocamlgraph, uri
|
2020-06-29 13:28:45 +01:00
|
|
|
, alcotest, hex, ppx_irmin
|
2019-12-09 10:29:01 +00:00
|
|
|
}:
|
|
|
|
|
2020-06-29 13:28:45 +01:00
|
|
|
buildDunePackage {
|
2019-12-09 10:29:01 +00:00
|
|
|
pname = "irmin";
|
|
|
|
|
2020-06-29 13:28:45 +01:00
|
|
|
inherit (ppx_irmin) src version;
|
2019-12-09 10:29:01 +00:00
|
|
|
|
2020-06-29 13:28:45 +01:00
|
|
|
useDune2 = true;
|
|
|
|
minimumOCamlVersion = "4.07";
|
2019-12-09 10:29:01 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ astring base64 digestif fmt jsonm logs ocaml_lwt ocamlgraph uri ];
|
|
|
|
|
2020-06-29 13:28:45 +01:00
|
|
|
checkInputs = [ alcotest hex ppx_irmin ];
|
2019-12-09 10:29:01 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2020-06-29 13:28:45 +01:00
|
|
|
meta = ppx_irmin.meta // {
|
2019-12-09 10:29:01 +00:00
|
|
|
description = "A distributed database built on the same principles as Git";
|
|
|
|
};
|
|
|
|
}
|