mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
e3936ac9c1
source now inherit ppx_irmin instead of irmin, since we can test irmin using ppx_irmin and this way we avoid circular dependencies.
23 lines
541 B
Nix
23 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";
|
|
};
|
|
}
|