nixpkgs/pkgs/development/libraries/asio/generic.nix
Sirio Balmelli a9a0e6458b
asio: 1.12 -> 1.16
1.16 will now build on Darwin, properly mark it as such.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2020-06-19 01:24:37 +02:00

27 lines
606 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 && stdenv.lib.versionOlder version "1.16.1";
platforms = platforms.unix;
};
}