ec92d4d331
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
36 lines
886 B
Nix
36 lines
886 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "actor-framework";
|
|
version = "0.18.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "actor-framework";
|
|
repo = "actor-framework";
|
|
rev = version;
|
|
sha256 = "sha256-9oQVsfh2mUVr64PjNXYD1wRBNJ8dCLO9eI5WnZ1SSww=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
cmakeFlags = [
|
|
"-DCAF_ENABLE_EXAMPLES:BOOL=OFF"
|
|
];
|
|
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
preCheck = ''
|
|
export LD_LIBRARY_PATH=$PWD/libcaf_core:$PWD/libcaf_io
|
|
export DYLD_LIBRARY_PATH=$PWD/libcaf_core:$PWD/libcaf_io
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "An open source implementation of the actor model in C++";
|
|
homepage = "http://actor-framework.org/";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ bobakker tobim ];
|
|
};
|
|
}
|