about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/tezos/shell-services-test-helpers.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/tezos/shell-services-test-helpers.nix')
-rw-r--r--pkgs/development/ocaml-modules/tezos/shell-services-test-helpers.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/tezos/shell-services-test-helpers.nix b/pkgs/development/ocaml-modules/tezos/shell-services-test-helpers.nix
new file mode 100644
index 0000000000000..077e44852edd2
--- /dev/null
+++ b/pkgs/development/ocaml-modules/tezos/shell-services-test-helpers.nix
@@ -0,0 +1,32 @@
+{ lib
+, buildDunePackage
+, tezos-stdlib
+, tezos-test-helpers
+, tezos-base
+, tezos-shell-services
+, qcheck-core
+, qcheck-alcotest
+}:
+
+buildDunePackage {
+  pname = "tezos-shell-services-test-helpers";
+  inherit (tezos-stdlib) version useDune2;
+  src = "${tezos-stdlib.base_src}/src/lib_shell_services/test_helpers/";
+
+  propagatedBuildInputs = [
+    tezos-base
+    tezos-shell-services
+    tezos-test-helpers
+    qcheck-core
+  ];
+
+  checkInputs = [
+    qcheck-alcotest
+  ];
+
+  doCheck = true;
+
+  meta = tezos-stdlib.meta // {
+    description = "Tezos: shell_services test helpers";
+  };
+}