7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
25 lines
609 B
Nix
25 lines
609 B
Nix
{lib, stdenv, fetchurl, boost, openssl
|
|
, version, sha256, ...
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "asio";
|
|
inherit version;
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/asio/asio-${version}.tar.bz2";
|
|
inherit sha256;
|
|
};
|
|
|
|
propagatedBuildInputs = [ boost ];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://asio.sourceforge.net/";
|
|
description = "Cross-platform C++ library for network and low-level I/O programming";
|
|
license = licenses.boost;
|
|
broken = stdenv.hostPlatform.isDarwin && lib.versionOlder version "1.16.1";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|