mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
26 lines
746 B
Nix
26 lines
746 B
Nix
{ stdenv, fetchurl, cmake, boost, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cpp-netlib-${version}";
|
|
version = "0.11.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://downloads.cpp-netlib.org/${version}/${name}-final.tar.bz2";
|
|
sha256 = "0vwnp1jpvsdjaz7f7w55p7gw6hj7694nklmljcvphvkrhbw1g1q5";
|
|
};
|
|
|
|
buildInputs = [ cmake boost openssl ];
|
|
|
|
cmakeFlags = [ "-DCPP-NETLIB_BUILD_SHARED_LIBS=ON" "-DCMAKE_BUILD_TYPE=RELEASE" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A collection of open-source libraries for high level network programming";
|
|
homepage = http://cpp-netlib.org;
|
|
license = licenses.boost;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ nckx ];
|
|
};
|
|
}
|