depot/third_party/nixpkgs/pkgs/development/libraries/caf/default.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

35 lines
935 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, openssl }:
stdenv.mkDerivation rec {
pname = "actor-framework";
version = "1.0.0";
src = fetchFromGitHub {
owner = "actor-framework";
repo = "actor-framework";
rev = version;
hash = "sha256-woyl6HcUGOB3WWiNVMrmrpDAePFTzNtqK9V4UOzDb50=";
};
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 = "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 ];
};
}