This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 469e6aa  gnu: Add cxxopts.
469e6aa is described below

commit 469e6aaea08d539c8e715c69cdb45f937f068741
Author: Greg Hogan <[email protected]>
AuthorDate: Fri Sep 18 10:22:11 2020 -0400

    gnu: Add cxxopts.
    
    * gnu/packages/cpp.scm (cxxopts): New variable.
    
    Signed-off-by: Mathieu Othacehe <[email protected]>
---
 gnu/packages/cpp.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 003883e..90e139e 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2020 Marius Bakke <[email protected]>
 ;;; Copyright © 2020 Michael Rohleder <[email protected]>
 ;;; Copyright © 2020 Alexandros Theodotou <[email protected]>
+;;; Copyright © 2020 Greg Hogan <[email protected]>
 ;;;
 ;;; 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)))

Reply via email to