guix-patches
[Top][All Lists]
Advanced

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

[bug#33079] [PATCH 22/34] gnu: Fix ocaml-qcheck.


From: Julien Lepiller
Subject: [bug#33079] [PATCH 22/34] gnu: Fix ocaml-qcheck.
Date: Wed, 17 Oct 2018 22:34:30 +0200

* gnu/packages/ocaml.scm (ocaml-qcheck)[native-inputs]: Add ocamlbuild.
(ocaml4.02-qcheck): New variable.
---
 gnu/packages/ocaml.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 795cd2240..fc1a50e04 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1317,7 +1317,8 @@ GNU CC attributes.  It provides also a C pretty printer 
as an example of use.")
                 "1zs1pg5cb1iry554v3cdmmiglsrwmsqa9x8zxmzb118fnk5d3ha6"))))
     (build-system ocaml-build-system)
     (native-inputs
-     `(("ounit" ,ocaml-ounit)))
+     `(("ounit" ,ocaml-ounit)
+       ("ocamlbuild" ,ocamlbuild)))
     (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
@@ -1326,6 +1327,9 @@ generated instances of the type. It provides combinators 
for generating
 instances and printing them.")
     (license license:lgpl3+)))
 
+(define-public ocaml4.02-qcheck
+  (package-with-ocaml4.02 ocaml-qcheck))
+
 (define-public ocaml-qtest
   (package
     (name "ocaml-qtest")
-- 
2.18.0






reply via email to

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