summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-04-20 22:40:15 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-04-21 13:10:32 +0200
commit54db21b9f8e8f2b05ed2994a2735d6704b0af57b (patch)
treec9ab6c13dac9e35168b1b3bceae7e59b945bd0df /gnu
parentfe4978d5b535f492e28ae89b5d109354c245cf0a (diff)
downloadguix-54db21b9f8e8f2b05ed2994a2735d6704b0af57b.tar.gz
gnu: Add abseil-cpp-20211102.0.
* gnu/packages/cpp.scm (abseil-cpp-20211102.0): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cpp.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 18a09b1bf6..bb1f216e2a 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1070,6 +1070,29 @@ augment the C++ standard library.  The Abseil library code is collected from
 Google's C++ code base.")
     (license license:asl2.0)))
 
+;; This is for grpc-for-python-grpcio; keep this in sync with its actual
+;; requirements.
+(define-public abseil-cpp-20211102.0
+  (let ((base abseil-cpp-20200923.3))
+    (package
+      (inherit base)
+      (name "abseil-cpp")
+      (version "20211102.0")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/abseil/abseil-cpp")
+                      (commit "215105818dfde3174fe799600bb0f3cae233d0bf")))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "028vlxpmh65kb7s0cpba38qcwk1abyn5br0ffhvvjjh97vld69di"))))
+      (arguments
+       (substitute-keyword-arguments (package-arguments base)
+         ((#:tests? _ #false) #false)
+         ((#:configure-flags flags)
+          #~(cons* "-DCMAKE_CXX_STANDARD=11" #$flags)))))))
+
 (define-public abseil-cpp
   (let ((base abseil-cpp-20200923.3))
     (package