From: Greg Hogan <code@greghogan.com>
To: Mathieu Othacehe <othacehe@gnu.org>
Cc: 43343@debbugs.gnu.org
Subject: [bug#43343] [PATCH] gnu: Add cxxopts.
Date: Fri, 18 Sep 2020 10:22:11 -0400 [thread overview]
Message-ID: <CA+3U0ZmeNHUhjMHbnXBQDV4vCOUWy6A5EcMPCvDWUoDuN3wEoA@mail.gmail.com> (raw)
In-Reply-To: <87imcb1qvb.fsf@gnu.org>
[-- 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 --]
next prev parent reply other threads:[~2020-09-18 14:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
2020-09-18 14:46 ` bug#43343: " Mathieu Othacehe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+3U0ZmeNHUhjMHbnXBQDV4vCOUWy6A5EcMPCvDWUoDuN3wEoA@mail.gmail.com \
--to=code@greghogan.com \
--cc=43343@debbugs.gnu.org \
--cc=othacehe@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).