GNU bug report logs - #75282
[PATCH] gnu: Add tclap.

Previous Next

Package: guix-patches;

Reported by: Lars Bilke <lars.bilke <at> ufz.de>

Date: Thu, 2 Jan 2025 12:59:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 75282 <at> debbugs.gnu.org (full text, mbox):

From: Lars Bilke <lars.bilke <at> ufz.de>
To: 75282 <at> debbugs.gnu.org, liliana.prikler <at> gmail.com
Cc: Lars Bilke <lars.bilke <at> ufz.de>
Subject: [PATCH v3] gnu: Add tclap.
Date: Tue, 14 Jan 2025 11:04:56 +0100
* gnu/packages/cpp.scm (tclap): New variable.

Change-Id: I21e0eb623abe0b5add59647dec5606c706063e00
---
 gnu/packages/cpp.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d3a8223a9c..3146cfea64 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -3531,3 +3531,34 @@ (define-public cpp-ada-url-parser
      "Ada is a fast and spec-compliant URL parser written in C++.
 Specification for URL parser can be found from the WHATWG website.")
     (license license:gpl3+)))
+
+(define-public tclap
+  (package
+    (name "tclap")
+    (version "1.4.0-rc1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://sourceforge/" name "/" name "-" version
+                           ".tar.bz2"))
+       (sha256
+        (base32 "1ii0gs965xagqfdwln9hd61y68352msybbq059grwspp51w8rq9k"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (replace 'check
+                     (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
+                       (if tests?
+                           (invoke "ctest" "-j"
+                                   (if parallel-tests?
+                                       (number->string (parallel-job-count))
+                                       "1"))
+                           (format #t "test suite not run~%")))))))
+    (native-inputs (list python))
+    (home-page "https://sourceforge.net/p/tclap/discussion/")
+    (synopsis "Templatized Command Line Argument Parser")
+    (description
+     "This is a simple C++ library that facilitates parsing command line
+arguments in a type independent manner.")
+    (license license:expat)))

base-commit: ab43d883a0a88adbcfd3c3ab8d4c097cd9054b90
-- 
2.46.1





This bug report was last modified 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.