all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Bilke <lars.bilke@ufz.de>
To: 75282@debbugs.gnu.org
Cc: Lars Bilke <lars.bilke@ufz.de>
Subject: [bug#75282] [PATCH v2] gnu: Add tclap.
Date: Fri, 03 Jan 2025 08:18:08 +0100	[thread overview]
Message-ID: <1de3992822240e39d29eafa42700f67941ac7535.1735888688.git.lars.bilke@ufz.de> (raw)
In-Reply-To: <45e8fac7f0877360439107b5aab2df723865d14b.1735822628.git.lars.bilke@ufz.de>

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

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

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d3a8223a9c..c9afb60c16 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -3531,3 +3531,35 @@ (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-1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.code.sf.net/p/tclap/code")
+             (commit "81b3d2a0c47895c22e9bb8c577f5ab521f76e5d2")))
+       (sha256
+        (base32 "0w06phgcjjnskxl9f0vmy5lgx5y2irbx14j9c2k8fis8a9sdiq51"))))
+    (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





      parent reply	other threads:[~2025-01-03  7:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-02 12:57 [bug#75282] [PATCH] gnu: Add tclap Lars Bilke
2025-01-02 19:59 ` Liliana Marie Prikler
2025-01-03  7:00 ` [bug#75282] [PATCH v2] gnu: Add tetgen Lars Bilke
2025-01-03  7:18 ` Lars Bilke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1de3992822240e39d29eafa42700f67941ac7535.1735888688.git.lars.bilke@ufz.de \
    --to=lars.bilke@ufz.de \
    --cc=75282@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.