depot/third_party/nixpkgs/pkgs/development/libraries/caf/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

35 lines
961 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, openssl }:
stdenv.mkDerivation rec {
pname = "actor-framework";
version = "1.0.1";
src = fetchFromGitHub {
owner = "actor-framework";
repo = "actor-framework";
rev = version;
hash = "sha256-ANtqGFctgOAynDiZS9tmWRASVpB2RqRTG7JSXZIDmP8=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ openssl ];
cmakeFlags = [
"-DCAF_ENABLE_EXAMPLES:BOOL=OFF"
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-faligned-allocation";
doCheck = !stdenv.hostPlatform.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 ];
};
}