From 8310f66a92da1b3319b057445db2ab31ce090120 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 14 Nov 2008 10:48:11 +0000 Subject: [PATCH] Updated boost libraries to version 1.37.0. svn path=/nixpkgs/trunk/; revision=13288 --- pkgs/development/libraries/boost/1.37.0.nix | 20 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/libraries/boost/1.37.0.nix diff --git a/pkgs/development/libraries/boost/1.37.0.nix b/pkgs/development/libraries/boost/1.37.0.nix new file mode 100644 index 00000000000..9b8c22d1ff7 --- /dev/null +++ b/pkgs/development/libraries/boost/1.37.0.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, icu, expat, zlib, bzip2, python, version }: + +assert version == "1.37.0"; + +stdenv.mkDerivation { + name = "boost-1.37.0"; + meta = { + homepage = "http://boost.org/"; + description = "Boost C++ Library Collection"; + license = "boost-license"; + }; + src = fetchurl { + url = "mirror://sourceforge/boost/boost_1_37_0.tar.bz2"; + sha256 = "0wjlmkp9klz6qfx02crw2w6py8k634m3l6hd9vfavfdif2gz8bnm"; + }; + buildInputs = [icu expat zlib bzip2 python]; + preConfigure = + "sed -e 's@^BJAM_CONFIG=\"\"@BJAM_CONFIG=\"-sEXPAT_INCLUDE=${expat}/include -sEXPAT_LIBPATH=${expat}/lib --layout=system variant=debug,release threading=single,multi link=shared,static\"@g' -i configure"; + configureFlags = "--with-icu=${icu} --with-python=${python}"; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 62daadef0ff..060c2b214c8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2638,7 +2638,7 @@ let inherit fetchurl stdenv; }; - boost = selectVersion ../development/libraries/boost "1.36.0" { + boost = selectVersion ../development/libraries/boost "1.37.0" { inherit fetchurl stdenv icu expat zlib bzip2 python; };