nixpkgs/pkgs/development/libraries/cpp-netlib/default.nix

29 lines
756 B
Nix
Raw Normal View History

2014-05-17 13:32:56 +00:00
{ stdenv, fetchurl, cmake, boost, openssl }:
let
version = "0.11.0";
in
stdenv.mkDerivation rec {
name = "cpp-netlib-${version}";
src = fetchurl {
url = "http://commondatastorage.googleapis.com/cpp-netlib-downloads/${version}/${name}.tar.bz2";
md5 = "0765cf203f451394df98e6ddf7bf2541";
};
2014-10-01 19:55:40 +00:00
buildInputs = [ cmake boost openssl ];
2014-05-17 13:32:56 +00:00
cmakeFlags = [ "-DCPP-NETLIB_BUILD_SHARED_LIBS=ON" "-DCMAKE_BUILD_TYPE=RELEASE" ];
enableParallelBuilding = true;
2014-09-19 17:56:08 +00:00
meta = with stdenv.lib; {
2014-05-17 13:32:56 +00:00
description = "A collection of open-source libraries for high level network programming";
homepage = http://cpp-netlib.org;
2014-09-19 17:56:08 +00:00
license = licenses.boost;
maintainers = with maintainers; [ shlevy ];
platforms = platforms.all;
2014-05-17 13:32:56 +00:00
};
}