From 9b2ddc9ad0b528513b4fa17ee4695a9055e0a15c Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Sat, 26 Dec 2020 20:40:07 +0100 Subject: [PATCH] ocamlPackages.irmin-chunk: init at 2.2.0 --- pkgs/development/ocaml-modules/irmin/chunk.nix | 18 ++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/ocaml-modules/irmin/chunk.nix diff --git a/pkgs/development/ocaml-modules/irmin/chunk.nix b/pkgs/development/ocaml-modules/irmin/chunk.nix new file mode 100644 index 00000000000..7a2ad0ec7df --- /dev/null +++ b/pkgs/development/ocaml-modules/irmin/chunk.nix @@ -0,0 +1,18 @@ +{ lib, buildDunePackage, irmin, irmin-mem, irmin-test }: + +buildDunePackage rec { + + pname = "irmin-chunk"; + inherit (irmin) version src useDune2; + + propagatedBuildInputs = [ irmin ]; + + doCheck = true; + checkInputs = [ irmin-mem irmin-test ]; + + meta = irmin.meta // { + description = "Irmin backend which allow to store values into chunks"; + }; + +} + diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 9f4603099f8..2a62a337817 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -429,6 +429,8 @@ let irmin = callPackage ../development/ocaml-modules/irmin { }; + irmin-chunk = callPackage ../development/ocaml-modules/irmin/chunk.nix { }; + irmin-fs = callPackage ../development/ocaml-modules/irmin/fs.nix { }; irmin-git = callPackage ../development/ocaml-modules/irmin/git.nix { };