guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 8d7f6fe5ba0c57827d1cf33833c0a9e811cd02dc
Author: bdunahu <[email protected]>
AuthorDate: Sat Sep 12 19:59:59 2026 -0400
gnu: Add argengine.
* gnu/packages/cpp.scm (argengine): New variable.
Signed-off-by: Liliana Marie Prikler <[email protected]>
---
gnu/packages/cpp.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 37e2f89cb24..ee30719b2b9 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -192,6 +192,36 @@ to achieve the majority of argument parsing needs in a
simple manner with an
easy to use API.")
(license license:expat)))
+(define-public argengine
+ (package
+ (name "argengine")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/juzzlin/Argengine")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0m03lw3hd7a1k2np27r25ii1myhjxl178w1i4gfxdkzx551ynsrz"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:configure-flags #~(list "-DBUILD_EXAMPLES=OFF")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'delete-static-archive
+ (lambda _
+ (delete-file
+ (in-vicinity #$output "lib/libArgengine_static.a")))))))
+ (home-page "https://github.com/juzzlin/Argengine")
+ (synopsis "Simple @acronym{CLI, Command Line Interface} parser")
+ (description "Argengine is a @acronym{CLI, Command Line Interface} parser
+for C++. It is based on lambda callbacks and supports automatic help
+generation.")
+ (license license:expat)))
+
(define-public argpp
;; No tagged releases; this is the master tip.
(let ((commit "b52420a843327361713b6242e47afaa6b6ab2a89")