b5f92a349c
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
35 lines
939 B
Nix
35 lines
939 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "actor-framework";
|
|
version = "0.19.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "actor-framework";
|
|
repo = "actor-framework";
|
|
rev = version;
|
|
hash = "sha256-Qi3nyUSwrYBy8lCP+R6/u/WtnZJcgSwb07pZVScAzcU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
cmakeFlags = [
|
|
"-DCAF_ENABLE_EXAMPLES:BOOL=OFF"
|
|
];
|
|
|
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-faligned-allocation";
|
|
|
|
doCheck = !stdenv.isDarwin;
|
|
checkTarget = "test";
|
|
|
|
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 ];
|
|
};
|
|
}
|