From 991356c8074eedea2ee40879188b9a8a622b3b4b Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 21 Aug 2023 07:33:39 +0200 Subject: [PATCH] ocamlPackages.qcheck-lin: init at 0.2 --- pkgs/development/ocaml-modules/qcheck/lin.nix | 17 +++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 pkgs/development/ocaml-modules/qcheck/lin.nix diff --git a/pkgs/development/ocaml-modules/qcheck/lin.nix b/pkgs/development/ocaml-modules/qcheck/lin.nix new file mode 100644 index 000000000000..23164901ab6e --- /dev/null +++ b/pkgs/development/ocaml-modules/qcheck/lin.nix @@ -0,0 +1,17 @@ +{ buildDunePackage +, qcheck-multicoretests-util +}: + +buildDunePackage { + pname = "qcheck-lin"; + + inherit (qcheck-multicoretests-util) version src; + + propagatedBuildInputs = [ qcheck-multicoretests-util ]; + + doCheck = true; + + meta = qcheck-multicoretests-util.meta // { + description = "A multicore testing library for OCaml"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 3aea5e90b02e..f62c7364302a 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1464,6 +1464,8 @@ let qcheck-core = callPackage ../development/ocaml-modules/qcheck/core.nix { }; + qcheck-lin = callPackage ../development/ocaml-modules/qcheck/lin.nix { }; + qcheck-multicoretests-util = callPackage ../development/ocaml-modules/qcheck/multicoretests-util.nix { }; qcheck-ounit = callPackage ../development/ocaml-modules/qcheck/ounit.nix { };