mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
fa46b31168
https://github.com/actor-framework/actor-framework/releases/tag/0.18.4 https://github.com/actor-framework/actor-framework/releases/tag/0.18.5
38 lines
985 B
Nix
38 lines
985 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "actor-framework";
|
|
version = "0.18.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "actor-framework";
|
|
repo = "actor-framework";
|
|
rev = version;
|
|
sha256 = "04b4kjisb5wzq6pilh8xzbxn7qcjgppl8k65hfv0zi0ja8fyp1xk";
|
|
};
|
|
|
|
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;
|
|
changelog = "https://github.com/actor-framework/actor-framework/raw/${version}/CHANGELOG.md";
|
|
maintainers = with maintainers; [ bobakker tobim ];
|
|
};
|
|
}
|