3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/irmin/pack.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

23 lines
458 B
Nix

{ lib, buildDunePackage, alcotest-lwt, index, irmin, irmin-test, ocaml_lwt }:
buildDunePackage rec {
minimumOCamlVersion = "4.02.3";
pname = "irmin-pack";
inherit (irmin) version src;
useDune2 = true;
propagatedBuildInputs = [ index irmin ocaml_lwt ];
checkInputs = lib.optionals doCheck [ alcotest-lwt irmin-test ];
doCheck = true;
meta = irmin.meta // {
description = "Irmin backend which stores values in a pack file";
};
}