mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Add cpp-netlib library
This commit is contained in:
parent
d9cf906516
commit
224f9b478d
28
pkgs/development/libraries/cpp-netlib/default.nix
Normal file
28
pkgs/development/libraries/cpp-netlib/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -4263,6 +4263,8 @@ let
|
||||
|
||||
ctl = callPackage ../development/libraries/ctl { };
|
||||
|
||||
cpp-netlib = callPackage ../development/libraries/cpp-netlib { };
|
||||
|
||||
cppunit = callPackage ../development/libraries/cppunit { };
|
||||
|
||||
cppnetlib = callPackage ../development/libraries/cppnetlib {
|
||||
|
Loading…
Reference in New Issue
Block a user