about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/asio/generic.nix
blob: 72305cb633fb185c491b191ed65e3b2e1f3af06a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{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;
    broken = stdenv.isDarwin;  # test when updating to >=1.12.1
    platforms = platforms.unix;
  };
}