From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gE+OFdjCZF8VNwAA0tVLHw (envelope-from ) for ; Fri, 18 Sep 2020 14:23:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id lXF1EdjCZF9PWAAAbx9fmQ (envelope-from ) for ; Fri, 18 Sep 2020 14:23:20 +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 8E82194042A for ; Fri, 18 Sep 2020 14:23:19 +0000 (UTC) Received: from localhost ([::1]:54124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJHIE-0003X4-Cf for larch@yhetil.org; Fri, 18 Sep 2020 10:23:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJHHz-0003PQ-43 for guix-patches@gnu.org; Fri, 18 Sep 2020 10:23:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJHHy-0001FX-Mo for guix-patches@gnu.org; Fri, 18 Sep 2020 10:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJHHy-00035G-IP for guix-patches@gnu.org; Fri, 18 Sep 2020 10:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43343] [PATCH] gnu: Add cxxopts. Resent-From: Greg Hogan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Sep 2020 14:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43343 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 43343@debbugs.gnu.org Received: via spool by 43343-submit@debbugs.gnu.org id=B43343.160043895211800 (code B ref 43343); Fri, 18 Sep 2020 14:23:02 +0000 Received: (at 43343) by debbugs.gnu.org; 18 Sep 2020 14:22:32 +0000 Received: from localhost ([127.0.0.1]:43900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJHHT-00034F-Qg for submit@debbugs.gnu.org; Fri, 18 Sep 2020 10:22:32 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:36852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJHHS-000342-DF for 43343@debbugs.gnu.org; Fri, 18 Sep 2020 10:22:30 -0400 Received: by mail-wr1-f68.google.com with SMTP id z1so5840193wrt.3 for <43343@debbugs.gnu.org>; Fri, 18 Sep 2020 07:22:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e//1kkRwFLPaILT0TNlLy0JAtOArDwv89tqHivFmupo=; b=TpC0j9pqMbycRED+RDVttZ4R28xKgDAVs3BbZx2xvAD4LgqC0+TgyDEBMg03R28ZQK LCOL8ankCdeuwVzSebRq7rN3ukNiHMdLQf/MaGLM5jnDIRuAUSEVAEiNteJzaSMzPXga 2wEs0FhioF5DSyApYb2depoS70YMMNS9sck0WQI8bDZG3n1r9MJ1JoH1wyA4VVN9mWac SaheLts4+C32TlSmtbICxD2gVolIrDqaPMVR3pb51n+CL1fv7NYJ+mHUQvunlumKf9JB x+dhqZOF+JxAMHTZFaI3EuWNRpnnyJdu3ttXis7P6NZ5RlDCbOPPqp/tpjh6s0QvrUe1 HfJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e//1kkRwFLPaILT0TNlLy0JAtOArDwv89tqHivFmupo=; b=R/A3en2mdHnA4Y6/kNlL3utdkNpWlOYgZXuHZgXeEp2Qo5MVZBN0k9Vi4ZQOvOzTtW 9mgzBmdVs9Jj7aGDAxepX9qDaBfLBrXwjgde3lDSg/A40vsxmqOTjry3Ks9QV16P5wjQ ZwFw3XtTj1A6y3IVqXP0nJW7U6ZvYlINxyjnp6uGMyUg72cNBQwsH1LHfnL2XkPxFyEG +lx0HH/EKDhhuCjdcIQVM16EHAIrJaJyHJw+k9u6bPEBC7sL3NsEiK3pgggOexO5aiP6 TuELAPncMnUajhuHG/jgJYJ9h2MTbgAMHPGJtC7JP2lM3kuC7vxAc1RHWvZfW9q4wtgV 0Nrw== X-Gm-Message-State: AOAM533JKmWzRr7aO7OoL/gexsAYwOxi12TfO/3XFMrch1C07aag0e1H zgTHX7O3ZhH5Vtgu9ZBY+z1DNzUjxlHnYe11blhpCPWxt0fivAvyY+M= X-Google-Smtp-Source: ABdhPJwbz9Ne7oK6JKTAg3vXFiB1gnaroqtOMTGekGn3ghVUl6/kMIyKb5xd1hZzG7NuDw2C/nXaAMK8U6yvlE3xjhM= X-Received: by 2002:adf:db52:: with SMTP id f18mr37787043wrj.397.1600438944348; Fri, 18 Sep 2020 07:22:24 -0700 (PDT) MIME-Version: 1.0 References: <87imcb1qvb.fsf@gnu.org> In-Reply-To: <87imcb1qvb.fsf@gnu.org> From: Greg Hogan Date: Fri, 18 Sep 2020 10:22:11 -0400 Message-ID: Content-Type: multipart/alternative; boundary="000000000000c3548b05af973a87" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=greghogan-com.20150623.gappssmtp.com header.s=20150623 header.b=TpC0j9pq; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: 4jdF55jYYULz --000000000000c3548b05af973a87 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mathieu, My apologies, when you had noted this issue on the other update I had intended to check this submission as well. >From c8298882f74839fac9bcbf42a9e491d6bc5605e8 Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Fri, 18 Sep 2020 14:20:46 +0000 Subject: [PATCH] gnu: Add cxxopts. * gnu/packages/cpp.scm (cxxopts): New variable. --- gnu/packages/cpp.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 003883e1a5..90e139e9eb 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -14,6 +14,7 @@ ;;; Copyright =C2=A9 2020 Marius Bakke ;;; Copyright =C2=A9 2020 Michael Rohleder ;;; Copyright =C2=A9 2020 Alexandros Theodotou +;;; Copyright =C2=A9 2020 Greg Hogan ;;; ;;; This file is part of GNU Guix. ;;; @@ -647,3 +648,24 @@ Google's C++ code base.") a zero-dependency C++ header-only parser combinator library for creating parsers according to a Parsing Expression Grammar (PEG).") (license license:expat))) + +(define-public cxxopts + (package + (name "cxxopts") + (version "2.2.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jarro2783/cxxopts") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0d3y747lsh1wkalc39nxd088rbypxigm991lk3j91zpn56whrpha")))) + (build-system cmake-build-system) + (synopsis "Lightweight C++ command line option parser") + (description + "A lightweight header-only C++ option parser library, supporting the +standard GNU style syntax for options.") + (home-page "https://github.com/jarro2783/cxxopts/wiki") + (license license:expat))) --=20 2.28.0 On Fri, Sep 18, 2020 at 3:33 AM Mathieu Othacehe wrote: > > Hello Greg, > > > + (uri (string-append " > https://github.com/jarro2783/cxxopts/archive" > > + "/v" version ".tar.gz")) > > Sorry for the delay. Could you use git-fetch method instead and send an > updated version? > > Thanks, > > Mathieu > --000000000000c3548b05af973a87 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Mathieu,

My apologies, when = you had noted this issue on the other update I had intended to check this s= ubmission as well.

From c8298882f74839fac9bcbf42a9= e491d6bc5605e8 Mon Sep 17 00:00:00 2001
From: Greg Hogan <code@greghogan.com>
Date: Fri, 18 Sep = 2020 14:20:46 +0000
Subject: [PATCH] gnu: Add cxxopts.

* gnu/pack= ages/cpp.scm (cxxopts): New variable.
---
=C2=A0gnu/packages/cpp.scm = | 22 ++++++++++++++++++++++
=C2=A01 file changed, 22 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 003883e= 1a5..90e139e9eb 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/= cpp.scm
@@ -14,6 +14,7 @@
=C2=A0;;; Copyright =C2=A9 2020 Marius Bakk= e <marius@gnu.org>
=C2=A0;;;= Copyright =C2=A9 2020 Michael Rohleder <mike@rohleder.de>
=C2=A0;;; Copyright =C2=A9 2020 Alexandros= Theodotou <alex@zrythm.org>+;;; Copyright =C2=A9 2020 Greg Hogan <code@greghogan.com>
=C2=A0;;;
=C2=A0;;; This file is pa= rt of GNU Guix.
=C2=A0;;;
@@ -647,3 +648,24 @@ Google's C++ code = base.")
=C2=A0a zero-dependency C++ header-only parser combinator l= ibrary for creating
=C2=A0parsers according to a Parsing Expression Gram= mar (PEG).")
=C2=A0 =C2=A0 =C2=A0(license license:expat)))
+
= +(define-public cxxopts
+ =C2=A0(package
+ =C2=A0 =C2=A0(name "c= xxopts")
+ =C2=A0 =C2=A0(version "2.2.1")
+ =C2=A0 =C2= =A0(source (origin
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(me= thod git-fetch)
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(uri (= git-reference
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0(url "ht= tps://github.com/jarro2783/cxxopts")
+ =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(commit (string-append "v= " version))))
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(fi= le-name (git-file-name name version))
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0(sha256
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 (base32
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&qu= ot;0d3y747lsh1wkalc39nxd088rbypxigm991lk3j91zpn56whrpha"))))
+ =C2= =A0 =C2=A0(build-system cmake-build-system)
+ =C2=A0 =C2=A0(synopsis &qu= ot;Lightweight C++ command line option parser")
+ =C2=A0 =C2=A0(des= cription
+ =C2=A0 =C2=A0 "A lightweight header-only C++ option pars= er library, supporting the
+standard GNU style syntax for options."= )
+ =C2=A0 =C2=A0(home-page "https://github.com/jarro2783/cxxopts/wiki")
+ = =C2=A0 =C2=A0(license license:expat)))
--
2.28.0

=
On Fri, Se= p 18, 2020 at 3:33 AM Mathieu Othacehe <othacehe@gnu.org> wrote:

Hello Greg,

> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (uri (string-append = "https://github.com/jarro2783/cxxopts/archive&q= uot;
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "/v" version &q= uot;.tar.gz"))

Sorry for the delay. Could you use git-fetch method instead and send an
updated version?

Thanks,

Mathieu
--000000000000c3548b05af973a87--