Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 openssl, 7}: 8 9stdenv.mkDerivation rec { 10 pname = "actor-framework"; 11 version = "1.1.0"; 12 13 src = fetchFromGitHub { 14 owner = "actor-framework"; 15 repo = "actor-framework"; 16 rev = version; 17 hash = "sha256-opQaRMjEgPS78wPSFRIWb5kkxcQMuAb7aAa/93LKqpo="; 18 }; 19 20 nativeBuildInputs = [ cmake ]; 21 22 buildInputs = [ openssl ]; 23 24 cmakeFlags = [ 25 "-DCAF_ENABLE_EXAMPLES:BOOL=OFF" 26 ]; 27 28 doCheck = !stdenv.hostPlatform.isDarwin; 29 checkTarget = "test"; 30 31 meta = { 32 description = "Open source implementation of the actor model in C++"; 33 homepage = "http://actor-framework.org/"; 34 license = lib.licenses.bsd3; 35 platforms = lib.platforms.unix; 36 changelog = "https://github.com/actor-framework/actor-framework/raw/${version}/CHANGELOG.md"; 37 maintainers = with lib.maintainers; [ 38 bobakker 39 tobim 40 ]; 41 }; 42}