From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cESCMqP6pmF1UgEAgWs5BA (envelope-from ) for ; Wed, 01 Dec 2021 05:31:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +DoNLqP6pmHbcwAAbx9fmQ (envelope-from ) for ; Wed, 01 Dec 2021 04:31:31 +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 A5073199DD for ; Wed, 1 Dec 2021 05:31:31 +0100 (CET) Received: from localhost ([::1]:53782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msHHG-0001bA-P5 for larch@yhetil.org; Tue, 30 Nov 2021 23:31:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msHGo-0001ZF-IN for guix-patches@gnu.org; Tue, 30 Nov 2021 23:31:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59664) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msHGo-0005UF-9I for guix-patches@gnu.org; Tue, 30 Nov 2021 23:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1msHGo-0006tW-6l for guix-patches@gnu.org; Tue, 30 Nov 2021 23:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51885] [PATCH 2/4] gnu: Add argagg. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Dec 2021 04:31:02 +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 Received: via spool by 51885-submit@debbugs.gnu.org id=B51885.163833300623028 (code B ref 51885); Wed, 01 Dec 2021 04:31:02 +0000 Received: (at 51885) by debbugs.gnu.org; 1 Dec 2021 04:30:06 +0000 Received: from localhost ([127.0.0.1]:42974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msHFt-0005yn-Ok for submit@debbugs.gnu.org; Tue, 30 Nov 2021 23:30:06 -0500 Received: from out0.migadu.com ([94.23.1.103]:27060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msHFl-0005vM-06 for 51885@debbugs.gnu.org; Tue, 30 Nov 2021 23:29:59 -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=1638332996; 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: in-reply-to:in-reply-to:references:references; bh=zCHjtpdWPe31ErnL3C/98NEkJy9+Nbaq8+bekhfHAlM=; b=oi/zrEN+1uvVOKmiPqUdIKpbIkr6HFVA+fu0onWrsNpxZ23WqbOvyF/f069TB3h/lXT/n7 xDvxplYloDnRb0MqYD9eYj4V96jH8t5fSSO4QLmNvZGdFLJEBMkaSyqoql1tyuUH4aWkxZ IPWPrhL0/HjKnpv0nO401M0UmMmlVv25QOYKHAzpFOQRpeOYzZIPwsHYyn6Ekn+q8gi8OC yVvcpwFKc9TXheyOQAd/SxoLzljOFcWXlsp35cFxN1DPSwUShefI1s9dudvsu+1zKBthXO YgAUejBKGWzC7GefE8GaMX/tNHILlIwe/f4RRk2xcAPtcsLCJ0NVzi2Edrkqww== Date: Tue, 30 Nov 2021 23:29:25 -0500 Message-Id: <20211201042927.18454-2-rg@raghavgururajan.name> In-Reply-To: <20211201042927.18454-1-rg@raghavgururajan.name> References: <20211201042927.18454-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 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Scanner: scn0.migadu.com X-TUID: MGk4ut93q3Xr * 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 b8741a9be7..2fe0d70a60 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -74,6 +74,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 "Simple 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