asio: add old version 1.10.8 (#41822)

This commit is contained in:
Izorkin 2018-06-11 21:03:09 +03:00 committed by xeji
parent a176f5e702
commit 2f73a373db
5 changed files with 40 additions and 22 deletions

View file

@ -0,0 +1,6 @@
{callPackage, ... } @ args:
callPackage ./generic.nix (args // {
version = "1.10.8";
sha256 = "0jgdl4fxw0hwy768rl3lhdc0czz7ak7czf3dg10j21pdpfpfvpi6";
})

View file

@ -0,0 +1,6 @@
{callPackage, ... } @ args:
callPackage ./generic.nix (args // {
version = "1.12.1";
sha256 = "0nln45662kg799ykvqx5m9z9qcsmadmgg6r5najryls7x16in2d9";
})

View file

@ -1,21 +0,0 @@
{stdenv, fetchurl, boost, openssl}:
stdenv.mkDerivation rec {
name = "asio-1.12.1";
src = fetchurl {
url = "mirror://sourceforge/asio/${name}.tar.bz2";
sha256 = "0nln45662kg799ykvqx5m9z9qcsmadmgg6r5najryls7x16in2d9";
};
propagatedBuildInputs = [ boost ];
buildInputs = [ openssl ];
meta = {
homepage = http://asio.sourceforge.net/;
description = "Cross-platform C++ library for network and low-level I/O programming";
license = stdenv.lib.licenses.boost;
platforms = stdenv.lib.platforms.unix;
};
}

View file

@ -0,0 +1,25 @@
{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;
};
}

View file

@ -8607,7 +8607,9 @@ with pkgs;
assimp = callPackage ../development/libraries/assimp { };
asio = callPackage ../development/libraries/asio { };
asio = asio_1_12;
asio_1_10 = callPackage ../development/libraries/asio/1.10.nix { };
asio_1_12 = callPackage ../development/libraries/asio/1.12.nix { };
aspell = callPackage ../development/libraries/aspell { };