8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
27 lines
596 B
Nix
27 lines
596 B
Nix
{stdenv, fetchurl, boost, openssl
|
|
, version, sha256, ...
|
|
}:
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "asio";
|
|
inherit version;
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/asio/asio-${version}.tar.bz2";
|
|
inherit sha256;
|
|
};
|
|
|
|
propagatedBuildInputs = [ boost ];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
meta = {
|
|
homepage = "http://asio.sourceforge.net/";
|
|
description = "Cross-platform C++ library for network and low-level I/O programming";
|
|
license = licenses.boost;
|
|
broken = stdenv.isDarwin; # test when updating to >=1.12.1
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|