2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchurl, boost, openssl
|
2020-04-24 23:36:52 +00:00
|
|
|
, version, sha256, ...
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "asio";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/asio/asio-${version}.tar.bz2";
|
|
|
|
inherit sha256;
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ boost ];
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://asio.sourceforge.net/";
|
|
|
|
description = "Cross-platform C++ library for network and low-level I/O programming";
|
|
|
|
license = licenses.boost;
|
2021-02-05 17:12:51 +00:00
|
|
|
broken = stdenv.isDarwin && lib.versionOlder version "1.16.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|