nixpkgs/pkgs/development/libraries/caf/default.nix
2023-04-21 23:04:27 +00:00

34 lines
840 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, openssl }:
stdenv.mkDerivation rec {
pname = "actor-framework";
version = "0.19.0";
src = fetchFromGitHub {
owner = "actor-framework";
repo = "actor-framework";
rev = version;
hash = "sha256-pGX8BjDupJb7rmaxig0XX9RCKiIw2GjM4TVmcB5HJ+I=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ openssl ];
cmakeFlags = [
"-DCAF_ENABLE_EXAMPLES:BOOL=OFF"
];
doCheck = true;
checkTarget = "test";
meta = with lib; {
description = "An 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 ];
};
}