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

30 lines
760 B
Nix
Raw Normal View History

2014-05-17 13:32:56 +00:00
{ stdenv, fetchurl, cmake, boost, openssl }:
stdenv.mkDerivation rec {
name = "cpp-netlib-${version}";
2016-04-02 18:52:11 +00:00
version = "0.12.0";
2014-05-17 13:32:56 +00:00
src = fetchurl {
url = "http://downloads.cpp-netlib.org/${version}/${name}-final.tar.bz2";
2016-04-02 18:52:11 +00:00
sha256 = "0h7gyrbr3madycnj8rl8k1jzk2hd8np2k5ad9mijlh0fizzzk3h8";
2014-05-17 13:32:56 +00:00
};
2014-10-01 19:55:40 +00:00
buildInputs = [ cmake boost openssl ];
2014-05-17 13:32:56 +00:00
2016-04-02 18:52:11 +00:00
cmakeFlags = [
"-DCPP-NETLIB_BUILD_SHARED_LIBS=ON"
"-DCMAKE_BUILD_TYPE=RELEASE"
];
2014-05-17 13:32:56 +00:00
enableParallelBuilding = true;
2014-09-19 17:56:08 +00:00
meta = with stdenv.lib; {
2016-04-02 18:52:11 +00:00
description =
"Collection of open-source libraries for high level network programming";
2014-05-17 13:32:56 +00:00
homepage = http://cpp-netlib.org;
2014-09-19 17:56:08 +00:00
license = licenses.boost;
platforms = platforms.all;
maintainers = with maintainers; [ nckx ];
2014-05-17 13:32:56 +00:00
};
}