summaryrefslogtreecommitdiff
path: root/gnu/packages/popt.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-19 00:18:20 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-20 21:09:36 +0100
commit28893bd60de10e7b0b84fa7fbc2d04aa136155af (patch)
tree31a28db8e145dececc68638952d84ef03acf88cd /gnu/packages/popt.scm
parent34b16f9201ec27ddfcfe897d4dd19b431f628839 (diff)
gnu: Add argtable3.
* gnu/packages/popt.scm (argtable3): New variable. Change-Id: I921c098442675089505f569a75daadc7f6764e57
Diffstat (limited to 'gnu/packages/popt.scm')
-rw-r--r--gnu/packages/popt.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/popt.scm b/gnu/packages/popt.scm
index 4e3baee4086..8fa6ddb588c 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")