diff --git a/pkgs/development/ocaml-modules/irmin/fs.nix b/pkgs/development/ocaml-modules/irmin/fs.nix new file mode 100644 index 000000000000..b1987aa7cbc6 --- /dev/null +++ b/pkgs/development/ocaml-modules/irmin/fs.nix @@ -0,0 +1,21 @@ +{ lib, buildDunePackage, irmin, irmin-test }: + +buildDunePackage rec { + + pname = "irmin-fs"; + + inherit (irmin) version src; + + propagatedBuildInputs = [ irmin ]; + + checkInputs = lib.optional doCheck irmin-test; + + doCheck = true; + + meta = irmin.meta // { + description = "Generic file-system backend for Irmin"; + }; + +} + + diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 762506de27f5..12243e92ec09 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -372,6 +372,8 @@ let irmin = callPackage ../development/ocaml-modules/irmin { }; + irmin-fs = callPackage ../development/ocaml-modules/irmin/fs.nix { }; + irmin-git = callPackage ../development/ocaml-modules/irmin/git.nix { }; irmin-http = callPackage ../development/ocaml-modules/irmin/http.nix { };