Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 boost, 6 openssl, 7 version, 8 sha256, 9 ... 10}: 11 12stdenv.mkDerivation { 13 pname = "asio"; 14 inherit version; 15 16 src = fetchurl { 17 url = "mirror://sourceforge/asio/asio-${version}.tar.bz2"; 18 inherit sha256; 19 }; 20 21 propagatedBuildInputs = [ boost ]; 22 23 buildInputs = [ openssl ]; 24 25 meta = with lib; { 26 homepage = "http://asio.sourceforge.net/"; 27 description = "Cross-platform C++ library for network and low-level I/O programming"; 28 license = licenses.boost; 29 broken = stdenv.hostPlatform.isDarwin && lib.versionOlder version "1.16.1"; 30 platforms = platforms.unix; 31 }; 32}