From 3ea6fefe7e48bcf6ea3997faabdcbe415c607479 Mon Sep 17 00:00:00 2001
Date: Wed, 24 Feb 2021 14:13:13 +0000
Subject: [PATCH] gnu: Add caf.
* gnu/packages/cpp.scm (caf): New variable.
---
gnu/packages/cpp.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 685dc02fca..659eb1cdeb 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -954,3 +954,29 @@ conversions to and from strings, iteration and related functionality.")
feature set with a simple and intuitive interface.")
(license license:bsd-3)))
+
+(define-public caf
+ (package
+ (name "caf")
+ (version "0.18.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1c3spd6vm1h9qhlk5c4fdwi6nbqx5vwz2zvv6qp0rj1hx6xpq3cx"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:configure-flags
+ '("-DCAF_ENABLE_EXAMPLES=OFF")))
+ (inputs
+ `(("openssl" ,openssl)))
+ (synopsis "C++ implementation of the actor model")
+ (description "The C++ Actor Framework (CAF) offers a high-level C++17
+programming environment using the actor model for concurrent, distributed
+computation.")
+ (license license:bsd-3)))
--
2.30.1