Subject: [bug#73466] [PATCH v2 08/15] gnu: ocaml-qcheck: Update to 0.22.

From: Herman Rimm <[email-masked]>
Date: Thu, 26 Sep 2024 09:23:38 +0200

* gnu/packages/ocaml.scm (ocaml-qcheck): Update to 0.22.
[propagated-inputs]: Add ocaml-odoc.  Remove ocaml-ounit.  Move
ocaml-alcotest and ocaml-ppxlib to native-inputs.
[native-inputs]: Add ocaml-ounit2.
[description]: Limit to 72 columns and add space after periods.
[license]: Change to BSD-2-Clause.

Change-Id: I22ccd7a20631e7318cd4972e926693b475b49bd3
---
 gnu/packages/ocaml.scm | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index db46488258..2b5dd396cc 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1964,7 +1964,7 @@ (define-public ocaml-frontc
 (define-public ocaml-qcheck
   (package
     (name "ocaml-qcheck")
-    (version "0.20")
+    (version "0.22")
     (source
      (origin
        (method git-fetch)
@@ -1973,19 +1973,19 @@ (define-public ocaml-qcheck
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1r0m5p1dd06lbgfxqdpl1ya4vb8252z7hqkvdi9k444g4rx2ay3p"))))
+        (base32
+          "065ybfhwfiavv8s28dhfk8fwif08973gg1ybpdfv0mxzqxyyny95"))))
     (build-system dune-build-system)
-    (propagated-inputs
-     (list ocaml-alcotest ocaml-ounit ocaml-ppxlib))
-    (native-inputs
-     (list ocamlbuild))
+    (propagated-inputs (list ocaml-odoc))
+    (native-inputs (list ocaml-alcotest ocaml-ounit2 ocaml-ppxlib))
     (home-page "https://github.com/c-cube/qcheck")
     (synopsis "QuickCheck inspired property-based testing for OCaml")
-    (description "QuickCheck inspired property-based testing for OCaml. This
-module checks invariants (properties of some types) over randomly
-generated instances of the type. It provides combinators for generating
-instances and printing them.")
-    (license license:lgpl3+)))
+    (description
+     "QuickCheck inspired property-based testing for OCaml.  This module
+checks invariants (properties of some types) over randomly generated
+instances of the type. It provides combinators for generating instances
+and printing them.")
+    (license license:bsd-2))) ; From release 0.7 onward.
 
 (define-public ocaml-qtest
   (package
-- 
2.45.2