From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mAN9BUoEsmFU0AAAgWs5BA (envelope-from ) for ; Thu, 09 Dec 2021 14:27:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2L9mAUoEsmFhLAAA1q6Kng (envelope-from ) for ; Thu, 09 Dec 2021 13:27:38 +0000 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 4CD62333BB for ; Thu, 9 Dec 2021 14:18:59 +0100 (CET) Received: from localhost ([::1]:58558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvJK6-00049c-9z for larch@yhetil.org; Thu, 09 Dec 2021 08:18:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvJJD-0003oN-5l for guix-patches@gnu.org; Thu, 09 Dec 2021 08:18:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvJJB-0003cc-Sm for guix-patches@gnu.org; Thu, 09 Dec 2021 08:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvJJB-0002YY-Md for guix-patches@gnu.org; Thu, 09 Dec 2021 08:18:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51885] [PATCH v3 1/3] gnu: Add argagg. References: In-Reply-To: Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 Dec 2021 13:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51885 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 51885@debbugs.gnu.org Cc: Raghav Gururajan , Julien Lepiller , Disseminate Dissent , jgart , anothersms@gmail.com Received: via spool by 51885-submit@debbugs.gnu.org id=B51885.16390558239746 (code B ref 51885); Thu, 09 Dec 2021 13:18:01 +0000 Received: (at 51885) by debbugs.gnu.org; 9 Dec 2021 13:17:03 +0000 Received: from localhost ([127.0.0.1]:42831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvJIF-0002X7-8Y for submit@debbugs.gnu.org; Thu, 09 Dec 2021 08:17:03 -0500 Received: from out2.migadu.com ([188.165.223.204]:21892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvJIA-0002Wd-Vx for 51885@debbugs.gnu.org; Thu, 09 Dec 2021 08:17:02 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1639055817; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Mv1gi+YwvJOWhWSadLveMpcUufle5jZp7MpCCTcMeYY=; b=f9SCRCQs3ao3ezhqTPYHhxwXPDACVHOD+wxrnWDtZA+zlCMt8pZ51VrlXLbT4LM299i4fT eCNxcXS3PsXURHNyS1+EHVK8KuAvcnYbhvP9XimeD+aEtkYTNp8pvqFsl3PQskkKx0cEWr ApK5C2ansmUKYeEXFkmJrFCjeG3lsJapw1QIsKyCxjo4TrbMlrFmBa1x6wPv8yrjZP8xmD 2feZoWnkZAhAIc/F8w2Thk1W2uh6YaJeX7ykXODuA07/Ff4ZgeRnPydlI1rBXOolf6xY4k /DwtzRany7+Zi6P60CkWuor5pYvkau5Xe8WzXREs/dNIXNf3ndbfemkPiWRBsw== Date: Thu, 9 Dec 2021 08:16:46 -0500 Message-Id: <20211209131648.1752-1-rg@raghavgururajan.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches From: Raghav Gururajan via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639055939; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=Mv1gi+YwvJOWhWSadLveMpcUufle5jZp7MpCCTcMeYY=; b=h4pYxS5EJP+0BqVl5sJvkTGpo+67+cD8OOUdFsg67dDVuuXg4A9Ok4LivY7eLHD6uVp66E n1bcRNXaORTthOe1GUuj4NOVUK83ddSBNFhcjdrnx1jBjuulBQLk5IaEvTdSywio6B3V6U FPbbxZkGowRuCGMPLohv8eRto9qPZ/KfFz8OVnQTYo+ntR1I1FMjeu25B2Woug2+JBbgDq 8eAj6w3LxHYtIGW/JdG0DejbFneKVw4T1TsQANlJKJhxhn3fsD1ZVgGkPtChm2Igm1BXX6 2VyeAEGqZypkCUuOCxq9qTJiYKVWB4LVPpYeLlyTU8LiPUXh8IZpbaAlJKXBzQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639055939; a=rsa-sha256; cv=none; b=X6/pnuB9wo3RyDiItV6bfxRapJDc/gDOMy9LvEJ+BqJOU8RJ6hAqGlxeEy3BhCTPOHMIgG Fq+Q3t/UB69ROU6SW1KcfTUIjactnn7yM1JEtDMuUfERyvF0kzNluyuCf7/lgaaT47Q6q2 1GkOxwmoDD+0tMZ30oixSy8MxFwTW4zBYjyVffokXc/s8kOj/2PnoLYo4aT6lBInqd8Juw b6uJo177vTTqeMzSIc5XRmn/zyZbQ+XDXMwlqGNxBJCP3icJj11qnTrbZr4dAsPDIN6a4/ MyD9kq9T/x7FG/sZFWwPzR7JmlpKFTBYuxXoxUmWtZUX9wmg0xOw5ySdh1vmVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=f9SCRCQs; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -2.95 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=raghavgururajan.name header.s=key1 header.b=f9SCRCQs; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 4CD62333BB X-Spam-Score: -2.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: BByYza6bXDhc * gnu/packages/cpp.scm (argagg): New variable. Co-authored-by: jgart Co-authored-by: Julien Lepiller Co-authored-by: Disseminate Dissent --- gnu/packages/cpp.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index bbcdcd6be9..0ce2b681c8 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -77,6 +77,46 @@ (define-module (gnu packages cpp) #:use-module (gnu packages web) #:use-module (gnu packages xml)) +(define-public argagg + (let ((commit "79e4adfa2c6e2bfbe63da05cc668eb9ad5596748") + (revision "0")) + (package + (name "argagg") + (version (git-version "0.4.6" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/vietjtnguyen/argagg") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1flkgh524lq3024p7ld5lg743s1v7qnbmgv77578rzmn2rjzr77n")))) + (build-system cmake-build-system) + (outputs '("out" "doc")) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'move-doc + (lambda* (#:key outputs #:allow-other-keys) + (let* ((name ,(package-name argagg)) + (out (assoc-ref outputs "out")) + (doc (assoc-ref outputs "doc"))) + (mkdir-p (string-append doc "/share/doc")) + (rename-file + (string-append out "/share/doc/" name) + (string-append doc "/share/doc/" name)))))))) + (native-inputs + `(("doxygen" ,doxygen))) + (home-page "https://github.com/vietjtnguyen/argagg") + (synopsis "C++11 command line argument parser") + (description "ArgAgg is yet another C++ command line argument/option parser. +It was written as a simple and idiomatic alternative to other frameworks like +getopt, Boost program options, TCLAP, and others. The goal is to achieve the +majority of argument parsing needs in a simple manner with an easy to use API.") + (license license:expat)))) + (define-public asmjit (let ((commit "4ec760a3d1f69e32ba460ecd2513f29b8428700b") (revision "0")) -- 2.34.0