GNU bug report logs - #43343
[PATCH] gnu: Add cxxopts.

Previous Next

Package: guix-patches;

Reported by: Greg Hogan <code <at> greghogan.com>

Date: Fri, 11 Sep 2020 16:10:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43343 in the body.
You can then email your comments to 43343 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#43343; Package guix-patches. (Fri, 11 Sep 2020 16:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Greg Hogan <code <at> greghogan.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 11 Sep 2020 16:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Greg Hogan <code <at> greghogan.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add cxxopts.
Date: Fri, 11 Sep 2020 12:09:12 -0400
[Message part 1 (text/plain, inline)]
From 3d35f07e892bcdcbdf40a9b6ab30a4840c336c17 Mon Sep 17 00:00:00 2001
From: Greg Hogan <code <at> greghogan.com>
Date: Fri, 11 Sep 2020 15:59:22 +0000
Subject: [PATCH] gnu: Add cxxopts.

* gnu/packages/cpp.scm (cxxopts): New variable.
---
 gnu/packages/cpp.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 32b6dad497..b8885961d9 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -13,6 +13,7 @@
 ;;; Copyright © 2020 Vinicius Monego <monego <at> posteo.net>
 ;;; Copyright © 2020 Marius Bakke <marius <at> gnu.org>
 ;;; Copyright © 2020 Michael Rohleder <mike <at> rohleder.de>
+;;; Copyright © 2020 Greg Hogan <code <at> greghogan.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -616,3 +617,22 @@ 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 url-fetch)
+              (uri (string-append "
https://github.com/jarro2783/cxxopts/archive"
+                                  "/v" version ".tar.gz"))
+              (sha256
+               (base32
+                "10cn74137w16r671kabqwcn19p9qrq2729znswa9nr3xj74a6jlq"))))
+    (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)))
-- 
2.28.0
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#43343; Package guix-patches. (Fri, 18 Sep 2020 07:34:02 GMT) Full text and rfc822 format available.

Message #8 received at 43343 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Greg Hogan <code <at> greghogan.com>
Cc: 43343 <at> debbugs.gnu.org
Subject: Re: [bug#43343] [PATCH] gnu: Add cxxopts.
Date: Fri, 18 Sep 2020 09:33:12 +0200
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




Information forwarded to guix-patches <at> gnu.org:
bug#43343; Package guix-patches. (Fri, 18 Sep 2020 14:23:02 GMT) Full text and rfc822 format available.

Message #11 received at 43343 <at> debbugs.gnu.org (full text, mbox):

From: Greg Hogan <code <at> greghogan.com>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 43343 <at> debbugs.gnu.org
Subject: Re: [bug#43343] [PATCH] gnu: Add cxxopts.
Date: Fri, 18 Sep 2020 10:22:11 -0400
[Message part 1 (text/plain, inline)]
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 <code <at> greghogan.com>
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 © 2020 Marius Bakke <marius <at> gnu.org>
 ;;; Copyright © 2020 Michael Rohleder <mike <at> rohleder.de>
 ;;; Copyright © 2020 Alexandros Theodotou <alex <at> zrythm.org>
+;;; Copyright © 2020 Greg Hogan <code <at> greghogan.com>
 ;;;
 ;;; 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)))
-- 
2.28.0

On Fri, Sep 18, 2020 at 3:33 AM Mathieu Othacehe <othacehe <at> gnu.org> 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
>
[Message part 2 (text/html, inline)]

Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Fri, 18 Sep 2020 14:47:01 GMT) Full text and rfc822 format available.

Notification sent to Greg Hogan <code <at> greghogan.com>:
bug acknowledged by developer. (Fri, 18 Sep 2020 14:47:02 GMT) Full text and rfc822 format available.

Message #16 received at 43343-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Greg Hogan <code <at> greghogan.com>
Cc: 43343-done <at> debbugs.gnu.org
Subject: Re: [bug#43343] [PATCH] gnu: Add cxxopts.
Date: Fri, 18 Sep 2020 16:46:08 +0200
> My apologies, when you had noted this issue on the other update I had intended to check this submission as well.

No worries. Another small detail, when you are adding some text to a
patch sent with git send-email, you can do so below the "---" mark, so
that it is not added to the commit message when applying with git.

Pushed this one, thanks!

Mathieu




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 17 Oct 2020 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 190 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.