guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.

commit 39ba532c426ccce43f9157d0471df9f711af0ff4
Author: Jason Conroy <[email protected]>
AuthorDate: Mon Feb 16 08:31:10 2026 -0500

    gnu: ocaml5: Add ocaml-crowbar.
    
    * gnu/packages/ocaml5.scm (ocaml-crowbar): New variable.
    
    Change-Id: Ic4a5b63a991b2f9cb9aa79df950a5894c9ffe487
    Signed-off-by: Julien Lepiller <[email protected]>
---
 gnu/packages/ocaml5.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 4746de49fa..b2ab9368fc 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -1056,6 +1056,36 @@ to JUnit and other XUnit testing frameworks.")
 other XUnit testing frameworks.")
     (license license:expat)))
 
+(define-public ocaml-crowbar
+  (package
+    (name "ocaml5-crowbar")
+    (version "0.2.1")
+    (home-page "https://github.com/stedolan/crowbar";)
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "11f3kiw58g8njx15akx16xcplzvzdw9y6c4jpyfxylkxws4g0f6j"))))
+    (build-system dune-build-system)
+    (propagated-inputs (list ocaml-ocplib-endian ocaml-cmdliner
+                             ocaml-afl-persistent))
+    (native-inputs (list ocaml-calendar
+                         ocaml-fpath
+                         ocaml-uucp
+                         ocaml-uunf
+                         ocaml-uutf
+                         ocaml-pprint))
+    (synopsis "QuickCheck-style property testing via afl-fuzz")
+    (description
+     "Crowbar is a library for testing code, combining
+QuickCheck-style property-based testing and the magical bug-finding powers of
+@uref{http://lcamtuf.coredump.cx/afl/, afl-fuzz}.")
+    (license license:expat)))
+
 (define-public ocaml-camlp-streams
   (package
     (name "ocaml5-camlp-streams")

Reply via email to