2018-06-11 18:03:09 +00:00
|
|
|
{stdenv, fetchurl, boost, openssl
|
|
|
|
, version, sha256, ...
|
|
|
|
}:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "asio";
|
|
|
|
inherit version;
|
2018-06-11 18:03:09 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/asio/asio-${version}.tar.bz2";
|
|
|
|
inherit sha256;
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ boost ];
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://asio.sourceforge.net/";
|
2018-06-11 18:03:09 +00:00
|
|
|
description = "Cross-platform C++ library for network and low-level I/O programming";
|
|
|
|
license = licenses.boost;
|
2018-09-12 18:07:49 +00:00
|
|
|
broken = stdenv.isDarwin; # test when updating to >=1.12.1
|
2018-06-11 18:03:09 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|