From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ID5tEbeNdmdGPgEAe85BDQ:P1 (envelope-from ) for ; Thu, 02 Jan 2025 12:59:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ID5tEbeNdmdGPgEAe85BDQ (envelope-from ) for ; Thu, 02 Jan 2025 13:59:35 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=RLt5jBzn; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735822775; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=RjxhGzgvZps5MH1y4vhc7k+KV6mEBG5oW6TKdkvC+vc=; b=TqmNJ0l/jCJ60bMJmLJeMTTKxYNq1zUJ+f+dMWh0jfvt5eIge/9Pt4VsBug2hMC2Ih9xF7 uuYfZa5mRK2sY9wio4juetkLtD3K0dgUY9Uu4mzoaPswYFEKPCrZXg0ZxCyVjdWnfEbFSE CbSdHvurcOOCL9svOr6hRKjH92teOEnmQZVDhuQF13hEAd9zZAZYouwfcuNyD+zjo3sahx HAMVwT3tsaXqdN1DnS7hfL0FI1JJ9rQJ3USJ59Q37LPJJBoXVg0CBtFM4d2eD+CEwsjL1d sirKDv15P5QMcm+NrAkN2s2GYKLSHshzimZlA5sfMgXP4RpfQjgHpZ47L9dPHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=RLt5jBzn; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735822775; a=rsa-sha256; cv=none; b=kwmoD5PDV3yRxFzBi0KKUqpe5iiQhr+9ZSd34O/ZWgKUHH3Crnao+6KquRFAFd5K+H8Lbp jDhD2bi9mAvJklrQ7aOESKfydhzygpA69PzZ9ZJhPS22hSMA6EGPC92oNm8LtSDw1THWhK 5FZd+apcYqamlPp05In5r3w3YPDqlnYDV6Y3GMpcd/p3vXTSLAY3eT6lY1Z7EPcPkTyhZW lBN178/mIwSApmOsjDx03DbQxs+PwptV83oLGayI3lbseUbnG8SCaWWSAYcnMHI9HWMCOP jzlaZDpLM8L2W8gpDV3ULgEodBqfBVUikWEU1uNLp0C9htJd0J8eEEZfTkkp5w== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B7BBE91595 for ; Thu, 02 Jan 2025 13:59:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTKn9-0008DH-2D; Thu, 02 Jan 2025 07:59:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTKn1-0008Aw-Lv for guix-patches@gnu.org; Thu, 02 Jan 2025 07:59:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTKn1-0000n2-1V for guix-patches@gnu.org; Thu, 02 Jan 2025 07:59:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:Date:MIME-version:To:Subject; bh=RjxhGzgvZps5MH1y4vhc7k+KV6mEBG5oW6TKdkvC+vc=; b=RLt5jBzn922yEor8cTdzbtygoB4bT1OWQO+IOP7tqq9PMKOm+eGC4rvTWxoCG5oa88d3cepPM0ZrvbH9JZgqg5gjDRsZNWgQDN6csxRk+mWelJ4FuhTdhzNpA2keEmDlGwOA3xH0dN3AWi2UoyJ2umNHky7XzmVPASoumVF5Gh+z7RPJVoUrKObI/kKBwgdyOxxq0HZu10suAOlyWyqk7DdHhau01wLU86NdehHHgvC6UDypJ6SSSU2J2s+PcISFqgsAbSzPLYVIC+3USmy3BI3pymsJhX5yWQbovfp1MEEx4uNquwHM9icK8+LLZtw71az4yAp5VLm6jcJW6Ga2SA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTKn0-00071H-IN for guix-patches@gnu.org; Thu, 02 Jan 2025 07:59:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75282] [PATCH] gnu: Add tclap. Resent-From: Lars Bilke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 02 Jan 2025 12:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75282 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75282@debbugs.gnu.org Cc: Lars Bilke X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173582268926883 (code B ref -1); Thu, 02 Jan 2025 12:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jan 2025 12:58:09 +0000 Received: from localhost ([127.0.0.1]:43003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTKm8-0006zU-U6 for submit@debbugs.gnu.org; Thu, 02 Jan 2025 07:58:09 -0500 Received: from lists.gnu.org ([2001:470:142::17]:40864) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTKm6-0006yt-3t for submit@debbugs.gnu.org; Thu, 02 Jan 2025 07:58:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTKlp-0007qI-MR for guix-patches@gnu.org; Thu, 02 Jan 2025 07:57:51 -0500 Received: from mailgate5.ufz.de ([141.65.7.212] helo=mailgate.ufz.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTKlm-0000Pt-W5 for guix-patches@gnu.org; Thu, 02 Jan 2025 07:57:48 -0500 Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135]) by mailgate.ufz.de (Mailgate5-UFZ) with ESMTP id 7381916034D for ; Thu, 2 Jan 2025 13:57:33 +0100 (CET) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: TEXT/PLAIN Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit (built Feb 27 2020)) id <0SPG00100OASAI00@imap.intranet.ufz.de> for guix-patches@gnu.org; Thu, 02 Jan 2025 13:57:33 +0100 (CET) Received: from smtp1.ufz.de ([141.65.7.216]) by imap.intranet.ufz.de (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit (built Feb 27 2020)) with ESMTPS id <0SPG00IWZPBXGEE0@imap.intranet.ufz.de> for guix-patches@gnu.org; Thu, 02 Jan 2025 13:57:33 +0100 (CET) Received: from envinf4.minotaur-alpha.ts.net (unknown [141.65.34.85]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp1.ufz.de (smtp1-UFZ) with ESMTPSA id 4415A80077; Thu, 2 Jan 2025 13:57:33 +0100 (CET) Date: Thu, 02 Jan 2025 13:57:08 +0100 From: Lars Bilke Message-id: <45e8fac7f0877360439107b5aab2df723865d14b.1735822628.git.lars.bilke@ufz.de> X-Mailer: git-send-email 2.46.1 Received-SPF: pass client-ip=141.65.7.212; envelope-from=lars.bilke@ufz.de; helo=mailgate.ufz.de X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.45 X-Spam-Score: -8.45 X-Migadu-Queue-Id: B7BBE91595 X-Migadu-Scanner: mx10.migadu.com X-TUID: RguiTsByBDLP * 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..cc39fc8851 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") + (synopsis "Templatized Command Line Argument Parser") + (license license:expat) + (description + "This is a simple C++ library that facilitates parsing command line +arguments in a type independent manner.") + (home-page "https://sourceforge.net/p/tclap/discussion/") + (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) + (native-inputs (list python)) + (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~%"))))))))) base-commit: ab43d883a0a88adbcfd3c3ab8d4c097cd9054b90 -- 2.46.1