1{ lib, stdenv, fetchFromGitHub, cmake, openssl }:
2
3stdenv.mkDerivation rec {
4 pname = "actor-framework";
5 version = "0.19.0";
6
7 src = fetchFromGitHub {
8 owner = "actor-framework";
9 repo = "actor-framework";
10 rev = version;
11 hash = "sha256-pGX8BjDupJb7rmaxig0XX9RCKiIw2GjM4TVmcB5HJ+I=";
12 };
13
14 nativeBuildInputs = [ cmake ];
15
16 buildInputs = [ openssl ];
17
18 cmakeFlags = [
19 "-DCAF_ENABLE_EXAMPLES:BOOL=OFF"
20 ];
21
22 doCheck = true;
23 checkTarget = "test";
24
25 meta = with lib; {
26 description = "An open source implementation of the actor model in C++";
27 homepage = "http://actor-framework.org/";
28 license = licenses.bsd3;
29 platforms = platforms.unix;
30 changelog = "https://github.com/actor-framework/actor-framework/raw/${version}/CHANGELOG.md";
31 maintainers = with maintainers; [ bobakker tobim ];
32 };
33}