3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/irmin/pack.nix

26 lines
513 B
Nix
Raw Normal View History

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