2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, openssl }:
|
2017-03-11 21:42:43 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "actor-framework";
|
2024-01-09 11:18:39 +00:00
|
|
|
version = "0.19.5";
|
2017-03-11 21:42:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "actor-framework";
|
|
|
|
repo = "actor-framework";
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = version;
|
2024-01-09 11:18:39 +00:00
|
|
|
hash = "sha256-G69qZ8aoaRP9Ug+BIhXrYs6xteUG3Zhxbo2O09LEh3s=";
|
2017-03-11 21:42:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2019-08-30 10:41:58 +00:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2019-08-30 13:47:22 +00:00
|
|
|
cmakeFlags = [
|
2021-03-01 04:20:00 +00:00
|
|
|
"-DCAF_ENABLE_EXAMPLES:BOOL=OFF"
|
2019-08-30 13:47:22 +00:00
|
|
|
];
|
|
|
|
|
2023-10-07 16:37:00 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-faligned-allocation";
|
|
|
|
|
|
|
|
doCheck = !stdenv.isDarwin;
|
2019-08-30 13:48:51 +00:00
|
|
|
checkTarget = "test";
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2017-03-11 21:42:43 +00:00
|
|
|
description = "An open source implementation of the actor model in C++";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://actor-framework.org/";
|
2017-03-11 21:42:43 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.unix;
|
2021-08-12 00:00:00 +00:00
|
|
|
changelog = "https://github.com/actor-framework/actor-framework/raw/${version}/CHANGELOG.md";
|
2019-08-30 10:41:58 +00:00
|
|
|
maintainers = with maintainers; [ bobakker tobim ];
|
2017-03-11 21:42:43 +00:00
|
|
|
};
|
|
|
|
}
|