guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/28: gnu: Add ocaml5.0-crowbar.


From: guix-commits
Subject: 15/28: gnu: Add ocaml5.0-crowbar.
Date: Wed, 21 Dec 2022 16:11:43 -0500 (EST)

roptat pushed a commit to branch master
in repository guix.

commit 048217e73c9ed6459ec8252163335c2982deefc6
Author: pukkamustard <pukkamustard@posteo.net>
AuthorDate: Fri Dec 16 13:25:14 2022 +0000

    gnu: Add ocaml5.0-crowbar.
    
    * gnu/packages/ocaml.scm (ocaml5.0-crowbar): New variable.
    
    Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
 gnu/packages/ocaml.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 4095c9231c..1ca3c19842 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8839,12 +8839,21 @@ document and by the text width.")
            ocaml-uunf
            ocaml-uutf
            ocaml-pprint))
+    (properties `((ocaml5.0-variant . ,(delay ocaml5.0-crowbar))))
     (synopsis "Ocaml library for tests, let a fuzzer find failing cases")
     (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 ocaml5.0-crowbar
+  (package-with-ocaml5.0
+   (package
+     (inherit ocaml-crowbar)
+     ;; Tests require ocaml-calendar which does not work with OCaml 5.0
+     (arguments `(#:tests? #f))
+     (properties '()))))
+
 (define-public ocaml-eqaf
   (package
     (name "ocaml-eqaf")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]