asio: add old version 1.10.8 (#41822)
parent
a176f5e702
commit
2f73a373db
@ -0,0 +1,6 @@ |
||||
{callPackage, ... } @ args: |
||||
|
||||
callPackage ./generic.nix (args // { |
||||
version = "1.10.8"; |
||||
sha256 = "0jgdl4fxw0hwy768rl3lhdc0czz7ak7czf3dg10j21pdpfpfvpi6"; |
||||
}) |
@ -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; |
||||
}; |
||||
|
||||
} |
@ -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; |
||||
}; |
||||
} |
Loading…
Reference in new issue