diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/caf')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/caf/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/caf/default.nix b/nixpkgs/pkgs/development/libraries/caf/default.nix new file mode 100644 index 000000000000..c1415a2837c4 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/caf/default.nix @@ -0,0 +1,36 @@ +{ stdenv, fetchFromGitHub, cmake, openssl }: + +stdenv.mkDerivation rec { + pname = "actor-framework"; + version = "0.17.4"; + + src = fetchFromGitHub { + owner = "actor-framework"; + repo = "actor-framework"; + rev = version; + sha256 = "04p3kgk1zadadl6n0prwc77nfxrbdasbwbqpws1y9y6f77lrcxdn"; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ openssl ]; + + cmakeFlags = [ + "-DCAF_NO_EXAMPLES:BOOL=TRUE" + ]; + + doCheck = true; + checkTarget = "test"; + preCheck = '' + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/lib + export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD/lib + ''; + + meta = with stdenv.lib; { + description = "An open source implementation of the actor model in C++"; + homepage = http://actor-framework.org/; + license = licenses.bsd3; + platforms = platforms.unix; + maintainers = with maintainers; [ bobakker tobim ]; + }; +} |