blob: badfc630a47efee4a4290a344231ab117068dada (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ stdenv, fetchurl, cmake, boost, openssl, asio }:
stdenv.mkDerivation rec {
name = "cpp-netlib-${version}";
version = "0.12.0";
src = fetchurl {
url = "http://downloads.cpp-netlib.org/${version}/${name}-final.tar.bz2";
sha256 = "0h7gyrbr3madycnj8rl8k1jzk2hd8np2k5ad9mijlh0fizzzk3h8";
};
buildInputs = [ cmake boost openssl ];
# This can be removed when updating to 0.13, see https://github.com/cpp-netlib/cpp-netlib/issues/629
propagatedBuildInputs = [ asio ];
cmakeFlags = [
"-DCPP-NETLIB_BUILD_SHARED_LIBS=ON"
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description =
"Collection of open-source libraries for high level network programming";
homepage = https://cpp-netlib.org;
license = licenses.boost;
platforms = platforms.all;
};
}
|