nixpkgs/pkgs/development/ocaml-modules/irmin/pack.nix
Vincent Laporte 4922992a04
ligo: 1.4.0 → 1.6.0
ocamlPackages.data-encoding: 0.7.1 → 1.0.1
ocamlPackages.index: 1.6.1 → 1.6.2
ocamlPackages.irmin: 3.7.2 → 3.9.0
ocamlPackages.irmin-http: remove at 3.7.2
ocamlPackages.mirage-kv: 4.0.1 → 6.1.1
ocamlPackages.terminal: 0.2.1 → 0.2.2
2024-04-18 05:49:15 +02:00

27 lines
624 B
Nix

{ lib, buildDunePackage
, index, ppx_irmin, irmin, optint, fmt, logs, lwt, mtime, cmdliner, checkseum, rusage
, alcotest, alcotest-lwt, astring, irmin-test
}:
buildDunePackage rec {
minimalOCamlVersion = "4.12";
pname = "irmin-pack";
inherit (irmin) version src;
nativeBuildInputs = [ ppx_irmin ];
propagatedBuildInputs = [ index irmin optint fmt logs lwt mtime cmdliner checkseum rusage ];
checkInputs = [ astring alcotest alcotest-lwt irmin-test ];
doCheck = true;
meta = irmin.meta // {
description = "Irmin backend which stores values in a pack file";
mainProgram = "irmin_fsck";
};
}