summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/alcotest/lwt.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/alcotest/lwt.nix')
-rw-r--r--pkgs/development/ocaml-modules/alcotest/lwt.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/alcotest/lwt.nix b/pkgs/development/ocaml-modules/alcotest/lwt.nix
new file mode 100644
index 00000000000..5a57dc0fcc2
--- /dev/null
+++ b/pkgs/development/ocaml-modules/alcotest/lwt.nix
@@ -0,0 +1,19 @@
+{ lib, buildDunePackage, alcotest, logs, ocaml_lwt, fmt
+, re, cmdliner
+}:
+
+buildDunePackage {
+  pname = "alcotest-lwt";
+
+  inherit (alcotest) version src useDune2;
+
+  propagatedBuildInputs = [ alcotest logs ocaml_lwt fmt ];
+
+  doCheck = true;
+  checkInputs = [ re cmdliner ];
+
+  meta = alcotest.meta // {
+    description = "Lwt-based helpers for Alcotest";
+  };
+
+}