Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 21 lines 542 B view raw
1{stdenv, fetchurl, boost, openssl}: 2 3stdenv.mkDerivation rec { 4 name = "asio-1.10.8"; 5 6 src = fetchurl { 7 url = "mirror://sourceforge/asio/${name}.tar.bz2"; 8 sha256 = "0jgdl4fxw0hwy768rl3lhdc0czz7ak7czf3dg10j21pdpfpfvpi6"; 9 }; 10 11 propagatedBuildInputs = [ boost ]; 12 buildInputs = [ openssl ]; 13 14 meta = { 15 homepage = http://asio.sourceforge.net/; 16 description = "Cross-platform C++ library for network and low-level I/O programming"; 17 license = stdenv.lib.licenses.boost; 18 platforms = stdenv.lib.platforms.unix; 19 }; 20 21}