2019-08-30 11:41:58 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, openssl }:
|
2017-03-11 21:42:43 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "actor-framework";
|
2020-05-19 08:38:24 +01:00
|
|
|
version = "0.17.5";
|
2017-03-11 21:42:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "actor-framework";
|
|
|
|
repo = "actor-framework";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2020-05-19 08:38:24 +01:00
|
|
|
sha256 = "1w7sanxhh4sv4ap3ildqzlziazcy7ydx2pbjjrf3k60lcwq0lzn6";
|
2017-03-11 21:42:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2019-08-30 11:41:58 +01:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2019-08-30 14:47:22 +01:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DCAF_NO_EXAMPLES:BOOL=TRUE"
|
|
|
|
];
|
|
|
|
|
2019-08-30 14:48:51 +01:00
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
preCheck = ''
|
2020-01-02 00:29:34 +00:00
|
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/lib
|
|
|
|
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD/lib
|
2019-08-30 14:48:51 +01:00
|
|
|
'';
|
|
|
|
|
2017-03-11 21:42:43 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An open source implementation of the actor model in C++";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://actor-framework.org/";
|
2017-03-11 21:42:43 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.unix;
|
2019-08-30 11:41:58 +01:00
|
|
|
maintainers = with maintainers; [ bobakker tobim ];
|
2017-03-11 21:42:43 +00:00
|
|
|
};
|
|
|
|
}
|