mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
asio: add old version 1.10.8 (#41822)
This commit is contained in:
parent
a176f5e702
commit
2f73a373db
5 changed files with 40 additions and 22 deletions
6
pkgs/development/libraries/asio/1.10.nix
Normal file
6
pkgs/development/libraries/asio/1.10.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{callPackage, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // {
|
||||
version = "1.10.8";
|
||||
sha256 = "0jgdl4fxw0hwy768rl3lhdc0czz7ak7czf3dg10j21pdpfpfvpi6";
|
||||
})
|
6
pkgs/development/libraries/asio/1.12.nix
Normal file
6
pkgs/development/libraries/asio/1.12.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{callPackage, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // {
|
||||
version = "1.12.1";
|
||||
sha256 = "0nln45662kg799ykvqx5m9z9qcsmadmgg6r5najryls7x16in2d9";
|
||||
})
|
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
25
pkgs/development/libraries/asio/generic.nix
Normal file
25
pkgs/development/libraries/asio/generic.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue