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