guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: ocaml-ounit: Update to 2.2.4.


From: guix-commits
Subject: branch master updated: gnu: ocaml-ounit: Update to 2.2.4.
Date: Fri, 19 Nov 2021 07:58:10 -0500

This is an automated email from the git hooks/post-receive script.

roptat pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 6460345  gnu: ocaml-ounit: Update to 2.2.4.
6460345 is described below

commit 6460345725a5021c8740f77e68724e5bb880d6a4
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Fri Nov 19 13:55:19 2021 +0100

    gnu: ocaml-ounit: Update to 2.2.4.
    
    * gnu/packages/ocaml.scm (ocaml-ounit): Update to 2.2.4.  Inherit from
    ocaml-ounit2.
    [arguments]: Use installation instructions from opam.
---
 gnu/packages/ocaml.scm | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 8c83cbc..54c1188 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1360,22 +1360,17 @@ to JUnit and other XUnit testing frameworks.")
 ;; note that some tests may hang for no obvious reason.
 (define-public ocaml-ounit
   (package
+    (inherit ocaml-ounit2)
     (name "ocaml-ounit")
-    (version "2.0.8")
-    (source (origin
-              (method url-fetch)
-              (uri (ocaml-forge-uri "ounit" version 1749))
-              (sha256
-               (base32
-                "03ifp9hjcxg4m5j190iy373jcn4039d3vy10kmd8p4lfciwzwc1f"))))
-    (build-system ocaml-build-system)
-    (native-inputs
-     `(("libxml2" ,libxml2)           ; for xmllint
-       ("ocamlbuild" ,ocamlbuild)))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (delete 'check))))             ; tests are run during build
+         (replace 'install
+           (lambda _
+             (invoke "make" "install-ounit" ,(string-append "version="
+                                                            (package-version 
ocaml-ounit2))))))))
+    (propagated-inputs
+     `(("ocaml-ounit2" ,ocaml-ounit2)))
     (home-page "http://ounit.forge.ocamlcore.org";)
     (synopsis "Unit testing framework for OCaml")
     (description "Unit testing framework for OCaml.  It is similar to JUnit and



reply via email to

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