Mario Rodas 2021-03-01 04:20:00 +00:00
parent f680a0f2a1
commit 4d6fe8fb17

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "actor-framework";
version = "0.17.6";
version = "0.18.0";
src = fetchFromGitHub {
owner = "actor-framework";
repo = "actor-framework";
rev = version;
sha256 = "03pi2jcdvdxncvv3hmzlamask0db1fc5l79k9rgq9agl0swd0mnz";
sha256 = "1c3spd6vm1h9qhlk5c4fdwi6nbqx5vwz2zvv6qp0rj1hx6xpq3cx";
};
nativeBuildInputs = [ cmake ];
@ -16,14 +16,14 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl ];
cmakeFlags = [
"-DCAF_NO_EXAMPLES:BOOL=TRUE"
"-DCAF_ENABLE_EXAMPLES:BOOL=OFF"
];
doCheck = true;
checkTarget = "test";
preCheck = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/lib
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD/lib
export LD_LIBRARY_PATH=$PWD/libcaf_core:$PWD/libcaf_io
export DYLD_LIBRARY_PATH=$PWD/libcaf_core:$PWD/libcaf_io
'';
meta = with lib; {