[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/11: gnu: cli11: Update to 2.3.2.
From: |
guix-commits |
Subject: |
03/11: gnu: cli11: Update to 2.3.2. |
Date: |
Sun, 28 May 2023 17:15:42 -0400 (EDT) |
lilyp pushed a commit to branch master
in repository guix.
commit 3be2000d5fa9659992319016fc50fe16bed0a742
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Thu May 18 16:55:18 2023 +0200
gnu: cli11: Update to 2.3.2.
* gnu/packages/cpp.scm (cli11): Update to 2.3.2.
[source]: Remove snippet.
[arguments]: Drop #:imported-modules, #:modules, and #:phases.
[native-inputs]: Add “catch2”.
---
gnu/packages/cpp.scm | 29 ++++-------------------------
1 file changed, 4 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 64f923929e..f116593502 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1576,7 +1576,7 @@ standards.")
(define-public cli11
(package
(name "cli11")
- (version "1.9.1")
+ (version "2.3.2")
(source
(origin
(method git-fetch)
@@ -1585,35 +1585,14 @@ standards.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0hbch0vk8irgmiaxnfqlqys65v1770rxxdfn3d23m2vqyjh0j9l6"))
- (modules '((guix build utils)))
- (snippet
- '(begin (delete-file-recursively "extern")
- #t))))
+ (base32 "1iif7kzp3yyjqg4yfar89rqmz44xkbi603gf9kjdqbgraw3f8zy7"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags
'("-DCLI11_SINGLE_FILE=OFF"
- "-DCLI11_BUILD_EXAMPLES=OFF")
- #:imported-modules ,%cmake-build-system-modules
- #:modules ((guix build cmake-build-system)
- (guix build utils))
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'no-vendor-gtest
- (lambda _
- (substitute* "tests/CMakeLists.txt"
- ;; We provide our own googletest, so this is not really a
- ;; problem.
- (("message\\(FATAL_ERROR \"You have requested")
- "message(TRACE \"You have requested"))
- (substitute* "cmake/AddGoogletest.cmake"
- (("^add_subdirectory\\(.*googletest.*$") "find_package(GTest
REQUIRED)")
- (("^set_target_properties\\(gtest gtest_main gmock gmock_main")
"")
- (("^ PROPERTIES FOLDER \"Extern\"\\)") ""))
- #t)))))
+ "-DCLI11_BUILD_EXAMPLES=OFF")))
(native-inputs
- (list doxygen googletest))
+ (list catch2 doxygen googletest))
(synopsis "Command line parser for C++11")
(description
"CLI11 is a command line parser for C++11 and beyond that provides a rich
- branch master updated (9845e408e5 -> d64d6ea2cf), guix-commits, 2023/05/28
- 01/11: gnu: emacs-next: Update to 29.0.91., guix-commits, 2023/05/28
- 05/11: gnu: Remove paraview-5.9., guix-commits, 2023/05/28
- 09/11: gnu: python-pygame-sdl2: Use G-Expressions., guix-commits, 2023/05/28
- 02/11: gnu: emacs-next-tree-sitter: "Downgrade" to 29.0.91., guix-commits, 2023/05/28
- 04/11: gnu: cli11: Use G-Expressions., guix-commits, 2023/05/28
- 08/11: gnu: python-pygame-sdl2: Update to 2.1.0-for-renpy-8.1.0., guix-commits, 2023/05/28
- 06/11: gnu: paraview: Update to 5.11.1., guix-commits, 2023/05/28
- 07/11: gnu: python-mpi4py: Update home-page., guix-commits, 2023/05/28
- 11/11: gnu: python-renpy: Use G-Expressions., guix-commits, 2023/05/28
- 03/11: gnu: cli11: Update to 2.3.2.,
guix-commits <=
- 10/11: gnu: python-renpy: Update to 8.1.0., guix-commits, 2023/05/28