From 52be004a7cc8694ac0e168574dbfd672eab70a3f Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 9 Dec 2019 10:29:22 +0000 Subject: [PATCH] ocamlPackages.irmin-fs: init at 2.0.0 --- pkgs/development/ocaml-modules/irmin/fs.nix | 21 +++++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/ocaml-modules/irmin/fs.nix 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 { };