depot/third_party/nixpkgs/pkgs/development/libraries/caf/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

35 lines
936 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, openssl }:
stdenv.mkDerivation rec {
pname = "actor-framework";
version = "0.19.6";
src = fetchFromGitHub {
owner = "actor-framework";
repo = "actor-framework";
rev = version;
hash = "sha256-Nb/BF/+xDWV/6iPo3o/NO6EtIaAW+yGFj06AO2baFfc=";
};
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 ];
};
}