nixpkgs/pkgs/development/ocaml-modules/irmin/default.nix
sternenseemann e3936ac9c1 ocamlPackages.irmin*: 2.1.0 → 2.2.0
source now inherit ppx_irmin instead of irmin, since we can test irmin
using ppx_irmin and this way we avoid circular dependencies.
2020-06-30 17:18:33 +02:00

22 lines
541 B
Nix

{ lib, fetchurl, buildDunePackage
, astring, base64, digestif, fmt, jsonm, logs, ocaml_lwt, ocamlgraph, uri
, alcotest, hex, ppx_irmin
}:
buildDunePackage {
pname = "irmin";
inherit (ppx_irmin) src version;
useDune2 = true;
minimumOCamlVersion = "4.07";
propagatedBuildInputs = [ astring base64 digestif fmt jsonm logs ocaml_lwt ocamlgraph uri ];
checkInputs = [ alcotest hex ppx_irmin ];
doCheck = true;
meta = ppx_irmin.meta // {
description = "A distributed database built on the same principles as Git";
};
}