mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge pull request #67771 from tobim/pkgs/caf
caf: 0.17.1 -> 0.17.2; enable openssl; run tests
This commit is contained in:
commit
51a5e6257f
@ -1,23 +1,35 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake }:
|
{ stdenv, fetchFromGitHub, cmake, openssl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "actor-framework";
|
pname = "actor-framework";
|
||||||
version = "0.17.1";
|
version = "0.17.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "actor-framework";
|
owner = "actor-framework";
|
||||||
repo = "actor-framework";
|
repo = "actor-framework";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1xbq591m3v6pkz4z3dg2lsxr6bxv1lpz4yhdci3vi55y6x9pwyfw";
|
sha256 = "0z9qh580pa1mx9h48npwji24bjyqxm1w93wdcc4inmjzdmrqwzim";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DCAF_NO_EXAMPLES:BOOL=TRUE"
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkTarget = "test";
|
||||||
|
preCheck = ''
|
||||||
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/lib
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An open source implementation of the actor model in C++";
|
description = "An open source implementation of the actor model in C++";
|
||||||
homepage = http://actor-framework.org/;
|
homepage = http://actor-framework.org/;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ bobakker ];
|
maintainers = with maintainers; [ bobakker tobim ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user