ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / ca / caf / package.nix
blob4cd5937d2486e487bcfb1dacb272ee3ac710cd0c
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   cmake,
6   openssl,
7 }:
9 stdenv.mkDerivation rec {
10   pname = "actor-framework";
11   version = "1.0.2";
13   src = fetchFromGitHub {
14     owner = "actor-framework";
15     repo = "actor-framework";
16     rev = version;
17     hash = "sha256-1DJ8VYBTC4Kd6IQZoj4AjP3CoHhb+bmtBEozc5T0R/0=";
18   };
20   nativeBuildInputs = [ cmake ];
22   buildInputs = [ openssl ];
24   cmakeFlags = [
25     "-DCAF_ENABLE_EXAMPLES:BOOL=OFF"
26   ];
28   env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-faligned-allocation";
30   doCheck = !stdenv.hostPlatform.isDarwin;
31   checkTarget = "test";
33   meta = with lib; {
34     description = "Open source implementation of the actor model in C++";
35     homepage = "http://actor-framework.org/";
36     license = licenses.bsd3;
37     platforms = platforms.unix;
38     changelog = "https://github.com/actor-framework/actor-framework/raw/${version}/CHANGELOG.md";
39     maintainers = with maintainers; [
40       bobakker
41       tobim
42     ];
43   };