* [bug#43343] [PATCH] gnu: Add cxxopts.
[not found] <CA+3U0Z=6==_e8=vW=bKB3T3P9+eMxpLiv_=R0F1dRu5RDqw_ZA@mail.gmail.com>
@ 2020-09-18 7:33 ` Mathieu Othacehe
2020-09-18 14:22 ` Greg Hogan
0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Othacehe @ 2020-09-18 7:33 UTC (permalink / raw)
To: Greg Hogan; +Cc: 43343
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#43343] [PATCH] gnu: Add cxxopts.
2020-09-18 7:33 ` [bug#43343] [PATCH] gnu: Add cxxopts Mathieu Othacehe
@ 2020-09-18 14:22 ` Greg Hogan
2020-09-18 14:46 ` bug#43343: " Mathieu Othacehe
0 siblings, 1 reply; 3+ messages in thread
From: Greg Hogan @ 2020-09-18 14:22 UTC (permalink / raw)
To: Mathieu Othacehe; +Cc: 43343
[-- Attachment #1: Type: text/plain, Size: 2352 bytes --]
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@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@gnu.org>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
+;;; Copyright © 2020 Greg Hogan <code@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@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
>
[-- Attachment #2: Type: text/html, Size: 3485 bytes --]
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#43343: [PATCH] gnu: Add cxxopts.
2020-09-18 14:22 ` Greg Hogan
@ 2020-09-18 14:46 ` Mathieu Othacehe
0 siblings, 0 replies; 3+ messages in thread
From: Mathieu Othacehe @ 2020-09-18 14:46 UTC (permalink / raw)
To: Greg Hogan; +Cc: 43343-done
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-18 14:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CA+3U0Z=6==_e8=vW=bKB3T3P9+eMxpLiv_=R0F1dRu5RDqw_ZA@mail.gmail.com>
2020-09-18 7:33 ` [bug#43343] [PATCH] gnu: Add cxxopts Mathieu Othacehe
2020-09-18 14:22 ` Greg Hogan
2020-09-18 14:46 ` bug#43343: " Mathieu Othacehe
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).