Subject: [bug#51885] [PATCH 2/2] gnu: Add argagg.

From: jgart <[email-masked]>
Date: Sat, 27 Nov 2021 19:55:27 -0500

From: guixrus <[email-masked]>

* gnu/packages/cpp.scm (argagg): New variable.

Co-authored-by: jgart <[email-masked]>
Co-authored-by: Raghav Gururajan <[email-masked]>
Co-authored-by: Julien Lepiller <[email-masked]>
Co-authored-by: Disseminate Dissent <[email-masked]>
---
 gnu/packages/cpp.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 8ed639cc49..486d25675e 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1373,6 +1373,32 @@ (define-public jsonnet
 syntax with variables, conditions, functions and more.")
     (license license:asl2.0)))
 
+(define-public argagg
+  (package
+    (name "argagg")
+    (version "0.4.6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/vietjtnguyen/argagg")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "12kb9rdh1ngn4qhzxc20kv2rl1kjwpn1y21ggmh9lx7hyw06aarh"))))
+    (build-system cmake-build-system)
+    (native-inputs
+      `(("doxygen" ,doxygen)))
+    (synopsis "Simple C++11 command line argument parser")
+    (description
+"This is yet another C++ command line argument/option parser.  It was
+written as a simple and idiomatic alternative to other frameworks like
+getopt, Boost program options, TCLAP, and others.  The goal is to achieve
+the majority of argument parsing needs in a simple manner with an easy
+to use API.")
+    (home-page "https://github.com/vietjtnguyen/simdjson")
+    (license license:expat)))
+
 (define-public asmjit
   (let ((commit "4ec760a3d1f69e32ba460ecd2513f29b8428700b")
         (revision "0"))
-- 
2.34.0