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