diff options
author | Shea Levy <shea@shealevy.com> | 2014-05-17 09:32:56 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-05-17 09:32:56 -0400 |
commit | 224f9b478dfbe1c74f9b0558138df4386eb2322c (patch) | |
tree | 0fe7eac4a1d9cd3130519b91bdb7bf3e887d13cb /pkgs/development/libraries/cpp-netlib | |
parent | d9cf90651633b508ef6c05a40113d53b407f9e01 (diff) |
Add cpp-netlib library
Diffstat (limited to 'pkgs/development/libraries/cpp-netlib')
-rw-r--r-- | pkgs/development/libraries/cpp-netlib/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/cpp-netlib/default.nix b/pkgs/development/libraries/cpp-netlib/default.nix new file mode 100644 index 000000000000..43849bf8ed8a --- /dev/null +++ b/pkgs/development/libraries/cpp-netlib/default.nix @@ -0,0 +1,28 @@ +{ 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"; + }; + + buildInputs = [ cmake boost openssl ]; + + cmakeFlags = [ "-DCPP-NETLIB_BUILD_SHARED_LIBS=ON" "-DCMAKE_BUILD_TYPE=RELEASE" ]; + + enableParallelBuilding = true; + + meta = { + description = "A collection of open-source libraries for high level network programming"; + homepage = http://cpp-netlib.org; + license = stdenv.lib.licenses.boost; + maintainers = [ stdenv.lib.maintainers.shlevy ]; + platforms = stdenv.lib.platforms.all; + }; +} |