guix-commits
[Top][All Lists]
Advanced

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

03/04: gnu: catch-framework2: Update to 2.1.2.


From: guix-commits
Subject: 03/04: gnu: catch-framework2: Update to 2.1.2.
Date: Thu, 19 Dec 2019 17:21:19 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 8aa59a54e98efbe237a68917f014baf94a490270
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Dec 19 23:06:01 2019 +0100

    gnu: catch-framework2: Update to 2.1.2.
    
    * gnu/packages/check.scm (catch-framework2): Update to 2.1.2.
    (catch-framework2-1): New variable.
    * gnu/packages/cpp.scm (fifo-map)[native-inputs]: Use catch-framework2-1.
---
 gnu/packages/check.scm | 24 +++++++++++++++++++++++-
 gnu/packages/cpp.scm   |  2 +-
 2 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 6619142..f61e964 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -196,7 +196,7 @@ supervised tests.")
 multi-paradigm automated test framework for C++ and Objective-C.")
     (license license:boost1.0)))
 
-(define-public catch-framework2
+(define-public catch-framework2-1
   (package
     (name "catch2")
     (version "1.12.2")
@@ -216,6 +216,28 @@ multi-paradigm automated test framework for C++ and 
Objective-C.")
 a multi-paradigm automated test framework for C++ and Objective-C.")
     (license license:boost1.0)))
 
+(define-public catch-framework2
+  (package
+    (name "catch2")
+    (version "2.1.2")
+    (home-page "https://github.com/catchorg/Catch2";)
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/catchorg/Catch2";)
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "14vcckqmbydjsg40ngi6iv999zimysh2l7fmrqj1d7xl990qz233"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("python" ,python-wrapper)))
+    (synopsis "Automated test framework for C++ and Objective-C")
+    (description "Catch2 stands for C++ Automated Test Cases in Headers and is
+a multi-paradigm automated test framework for C++ and Objective-C.")
+    (license license:boost1.0)))
+
 (define-public cmdtest
   (package
     (name "cmdtest")
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 335f9a6..ae1e3e3 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -185,7 +185,7 @@ batches.")
                 (modules '((guix build utils)))
                 (snippet '(delete-file-recursively "./test/thirdparty"))))
       (native-inputs
-       `(("catch2" ,catch-framework2)))
+       `(("catch2" ,catch-framework2-1)))
       (build-system cmake-build-system)
       (arguments
        `(#:phases



reply via email to

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