nixpkgs/pkgs/development/libraries/boost/1.37.0.nix
Peter Simons 8310f66a92 Updated boost libraries to version 1.37.0.
svn path=/nixpkgs/trunk/; revision=13288
2008-11-14 10:48:11 +00:00

21 lines
767 B
Nix

{ 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}";
}