nixpkgs/pkgs/development/libraries/asio/generic.nix

28 lines
594 B
Nix
Raw Normal View History

2018-06-11 20:03:09 +02:00
{stdenv, fetchurl, boost, openssl
, version, sha256, ...
}:
with stdenv.lib;
stdenv.mkDerivation {
2019-08-13 23:52:01 +02:00
pname = "asio";
inherit version;
2018-06-11 20:03:09 +02:00
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
2018-06-11 20:03:09 +02:00
platforms = platforms.unix;
};
}