guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#50847] [PATCH 4/5] gnu: Add cxxopts-next.


From: Alexandr Vityazev
Subject: [bug#50847] [PATCH 4/5] gnu: Add cxxopts-next.
Date: Mon, 27 Sep 2021 13:56:21 +0000

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

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index cf063fc921..30a5bb4d12 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -834,6 +834,25 @@ standard GNU style syntax for options.")
     (home-page "https://github.com/jarro2783/cxxopts/wiki";)
     (license license:expat)))
 
+(define-public cxxopts-next
+  ;; No release version 3.0.0 cxxopts required by ydotool,
+  ;; include breaking changes.
+  (let ((commit "2d8e17c4f88efce80e274cb03eeb902e055a91d3")
+        (revision "0")
+        (version "3.0.0"))
+    (package/inherit cxxopts
+      (name "cxxopts-next")
+      (version (git-version version revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/jarro2783/cxxopts";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0pwrac81zfqjs17g3hx8r3ds2xf04npb6mz111qjy4bx17314ib7")))))))
+
 (define-public folly
   (package
     (name "folly")
-- 
2.33.0



-- 

Alexandr Vityazev





reply via email to

[Prev in Thread] Current Thread [Next in Thread]