guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 28893bd60de10e7b0b84fa7fbc2d04aa136155af
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Sat Jul 19 00:18:20 2025 +0100

    gnu: Add argtable3.
    
    * gnu/packages/popt.scm (argtable3): New variable.
    
    Change-Id: I921c098442675089505f569a75daadc7f6764e57
---
 gnu/packages/popt.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/popt.scm b/gnu/packages/popt.scm
index 4e3baee408..8fa6ddb588 100644
--- a/gnu/packages/popt.scm
+++ b/gnu/packages/popt.scm
@@ -56,6 +56,31 @@ also provides the means for generating a textual description 
of the command
 line syntax.")
     (license lgpl2.0+)))
 
+(define-public argtable3
+  (package
+    (name "argtable3")
+    (version "3.3.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/argtable/argtable3";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1d7549c9hppjjp0a64yhwsgy44i14j6mgzvb2980r3yaw6l2jvi1"))))
+    (build-system cmake-build-system)
+    (home-page "https://www.argtable.org/";)
+    (synopsis "Command line option parsing library")
+    (description
+     "Argtable3 is an ANSI C library that simplifies parsing GNU-style
+command-line options.  It provides a declarative API to define your
+command-line syntax, and because it's built on the standard getopt library, it
+ensures 100% GNU-compliant behavior.  Argtable3 automatically generates the
+error-handling logic and usage descriptions that are essential for any robust
+command-line program, saving you from tedious boilerplate code.")
+    (license bsd-3)))
+
 (define-public popt
   (package
     (name "popt")

Reply via email to