summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/irmin/pack.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/irmin/pack.nix')
-rw-r--r--pkgs/development/ocaml-modules/irmin/pack.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/irmin/pack.nix b/pkgs/development/ocaml-modules/irmin/pack.nix
new file mode 100644
index 00000000000..4eacc719cec
--- /dev/null
+++ b/pkgs/development/ocaml-modules/irmin/pack.nix
@@ -0,0 +1,19 @@
+{ lib, buildDunePackage, alcotest-lwt, index, irmin, irmin-test }:
+
+buildDunePackage rec {
+
+  pname = "irmin-pack";
+
+  inherit (irmin) version src;
+
+  propagatedBuildInputs = [ index irmin ];
+
+  checkInputs = lib.optionals doCheck [ alcotest-lwt irmin-test ];
+
+  doCheck = true;
+
+  meta = irmin.meta // {
+    description = "Irmin backend which stores values in a pack file";
+  };
+
+}