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 EJyPGX2Pd2coSQAAe85BDQ:P1 (envelope-from ) for ; Fri, 03 Jan 2025 07:19:25 +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 EJyPGX2Pd2coSQAAe85BDQ (envelope-from ) for ; Fri, 03 Jan 2025 08:19:25 +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=CVE585F4; 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=1735888765; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iTDiLU5CsAQvYplc5O30SMMqym86d0eA9KFikyk8dLs=; b=D0ip8bScJeJ5CFsqJ6RWa1rRCgf8JASnoaH88oYqlrwqVVETXP+tudkPth99Wl+XXXoYEO tI41EgZkiXg6S1Qu3RRDtwyxw7ZBl0sfpYCRWRkFAoD9kRfFQOSNy95HszEGaIKH0KWtq2 pUWveqClOUPtcaH3MsyOL3Z/AgLU37uNUkuogCClCmA7TFdo0WP+QjOxgCZI4IRbEULKHB iwPyq60RmY5UU9GnoMTuAcIAzPaIIlxuKkbd9+/nxDFZGzm5q09dItb5OrwjRqd9WP/cLl TKUIoMePJHlGhd88LmtD/E2nrIU+zEDIVU1RjFzeU3d9yF/bYk9NaOSTjq5BnQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=CVE585F4; 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=1735888765; a=rsa-sha256; cv=none; b=IrybcJq7hji4Fll6QEnSV3wQWDupS8R2OJNrtrG7OyAyoHwo9Mq9qoNYTLcPmXmnTzK4nB UfA7XISJGCq5XvC70MdOEwaaM0wF9a7ogMAJH6yo1aj+DjcGJo+/zJ7hIrvk+LOx9GLTVJ 07pSFOaIIeHW+5iNF9DvoSmFzVGkefvciGsfGK3SmcQYL8cdb6maFIy4I3s1/9rA+ZSuPm WysHUKQNU5sIf5wNZ10jTX+mQwsgbxXStGVOsphlRRKmCzgxOa7zdZ3SVfFl9rrueZbgh6 okGeuHbaYzqDmtOS4APqQtk1AUzohOyO10At/Z6fwt7dudji2V1YvkbsO+cVTA== 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 AB6171B7E8 for ; Fri, 03 Jan 2025 08:19:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTbxa-0004CL-BK; Fri, 03 Jan 2025 02:19: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 1tTbxW-0004AY-Kz for guix-patches@gnu.org; Fri, 03 Jan 2025 02:19:02 -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 1tTbxW-0005K1-B3 for guix-patches@gnu.org; Fri, 03 Jan 2025 02:19:02 -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:In-Reply-To:References:Subject; bh=iTDiLU5CsAQvYplc5O30SMMqym86d0eA9KFikyk8dLs=; b=CVE585F43GTyoUc8unrypSxQnmmMguy1txojVT4WxslMHeY8Zr7WK1O9lSpi1VvKPhNvFguJNDzu+UKBEdrEFau/Z/0N7BGVxQ41FSrL8u0JFjfjF2jIVUuNP/m/V8u/8aU/B9OQ0B1rXB5UNGVqy52/d8Zmkjd326HIhW8C/pNo1WN9awirJE8o3pHCkmaU+6nFdR4WKtw3MVH1VptevyHUih6ah68QPbo8T9ATeEbpBLY6Dtiq9fGKLKoECtI84GUl2xt/tfIj3i7HD2M84K9cCFL2EBG3+Ax2VSCd/ZRTGLOnc1h1Kf4F5/qRad7uMsiWcOG3ffDFWgLVOvJePQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTbxV-0006KY-Oq for guix-patches@gnu.org; Fri, 03 Jan 2025 02:19:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75282] [PATCH v2] gnu: Add tclap. References: <45e8fac7f0877360439107b5aab2df723865d14b.1735822628.git.lars.bilke@ufz.de> In-Reply-To: <45e8fac7f0877360439107b5aab2df723865d14b.1735822628.git.lars.bilke@ufz.de> Resent-From: Lars Bilke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 Jan 2025 07:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75282 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75282@debbugs.gnu.org Cc: Lars Bilke Received: via spool by 75282-submit@debbugs.gnu.org id=B75282.173588870424286 (code B ref 75282); Fri, 03 Jan 2025 07:19:01 +0000 Received: (at 75282) by debbugs.gnu.org; 3 Jan 2025 07:18:24 +0000 Received: from localhost ([127.0.0.1]:49317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTbwu-0006Jd-9k for submit@debbugs.gnu.org; Fri, 03 Jan 2025 02:18:24 -0500 Received: from mailgate4.ufz.de ([141.65.7.211]:56418 helo=mailgate.ufz.de) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTbws-0006JV-Nv for 75282@debbugs.gnu.org; Fri, 03 Jan 2025 02:18:23 -0500 Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135]) by mailgate.ufz.de (Mailgate4-UFZ) with ESMTP id F2CF216030E for <75282@debbugs.gnu.org>; Fri, 3 Jan 2025 08:18:20 +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 <0SPI00M003GOOY00@imap.intranet.ufz.de> for 75282@debbugs.gnu.org; Fri, 03 Jan 2025 08:18:20 +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 <0SPI00JAW4AKZLE0@imap.intranet.ufz.de> for 75282@debbugs.gnu.org; Fri, 03 Jan 2025 08:18:20 +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 BEC8C80077; Fri, 3 Jan 2025 08:18:20 +0100 (CET) Date: Fri, 03 Jan 2025 08:18:08 +0100 From: Lars Bilke Message-id: <1de3992822240e39d29eafa42700f67941ac7535.1735888688.git.lars.bilke@ufz.de> X-Mailer: git-send-email 2.46.1 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.25 X-Spam-Score: -8.25 X-Migadu-Queue-Id: AB6171B7E8 X-Migadu-Scanner: mx10.migadu.com X-TUID: OyUgw/oMBDEB * 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