nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at fix-function-merge 35 lines 935 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake, openssl }: 2 3stdenv.mkDerivation rec { 4 pname = "actor-framework"; 5 version = "1.0.0"; 6 7 src = fetchFromGitHub { 8 owner = "actor-framework"; 9 repo = "actor-framework"; 10 rev = version; 11 hash = "sha256-woyl6HcUGOB3WWiNVMrmrpDAePFTzNtqK9V4UOzDb50="; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 buildInputs = [ openssl ]; 17 18 cmakeFlags = [ 19 "-DCAF_ENABLE_EXAMPLES:BOOL=OFF" 20 ]; 21 22 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-faligned-allocation"; 23 24 doCheck = !stdenv.isDarwin; 25 checkTarget = "test"; 26 27 meta = with lib; { 28 description = "Open source implementation of the actor model in C++"; 29 homepage = "http://actor-framework.org/"; 30 license = licenses.bsd3; 31 platforms = platforms.unix; 32 changelog = "https://github.com/actor-framework/actor-framework/raw/${version}/CHANGELOG.md"; 33 maintainers = with maintainers; [ bobakker tobim ]; 34 }; 35}