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