From a21d658051585f900dfc6f26148de865dd1b7c0d Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 9 Dec 2019 10:29:05 +0000 Subject: [PATCH] ocamlPackages.irmin-test: init at 2.0.0 --- pkgs/development/ocaml-modules/irmin/test.nix | 15 +++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/development/ocaml-modules/irmin/test.nix diff --git a/pkgs/development/ocaml-modules/irmin/test.nix b/pkgs/development/ocaml-modules/irmin/test.nix new file mode 100644 index 000000000000..57e33e2db8a5 --- /dev/null +++ b/pkgs/development/ocaml-modules/irmin/test.nix @@ -0,0 +1,15 @@ +{ buildDunePackage, alcotest, cmdliner, irmin, metrics-unix, mtime }: + +buildDunePackage { + + pname = "irmin-test"; + + inherit (irmin) version src; + + propagatedBuildInputs = [ alcotest cmdliner irmin metrics-unix mtime ]; + + meta = irmin.meta // { + description = "Irmin test suite"; + }; + +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 1b78a08e6819..96234d7436cc 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-test = callPackage ../development/ocaml-modules/irmin/test.nix { }; + jingoo = callPackage ../development/ocaml-modules/jingoo { pcre = ocaml_pcre; };