forked from mirrors/nixpkgs
26 lines
521 B
Nix
26 lines
521 B
Nix
|
{stdenv, fetchurl, boost, openssl
|
||
|
, version, sha256, ...
|
||
|
}:
|
||
|
|
||
|
with stdenv.lib;
|
||
|
|
||
|
stdenv.mkDerivation {
|
||
|
name = "asio-${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;
|
||
|
platforms = platforms.unix;
|
||
|
};
|
||
|
}
|