mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
37 lines
922 B
Nix
37 lines
922 B
Nix
{ stdenv, fetchFromGitHub, cmake, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "actor-framework";
|
|
version = "0.17.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "actor-framework";
|
|
repo = "actor-framework";
|
|
rev = version;
|
|
sha256 = "1w7sanxhh4sv4ap3ildqzlziazcy7ydx2pbjjrf3k60lcwq0lzn6";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
cmakeFlags = [
|
|
"-DCAF_NO_EXAMPLES:BOOL=TRUE"
|
|
];
|
|
|
|
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
|
|
'';
|
|
|
|
meta = with stdenv.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 ];
|
|
};
|
|
}
|