nixpkgs/pkgs/development/libraries/boost/default.nix
Yury G. Kudryashov 40383877a9 Revert "boost: compiles with gcc-4.2": it is not needed in trunk
This reverts commit 10327.

svn path=/nixpkgs/trunk/; revision=10368
2008-01-28 20:25:21 +00:00

15 lines
465 B
Nix

{stdenv, fetchurl, icu, zlib, bzip2, python}:
stdenv.mkDerivation {
name = "boost-1.34.1";
src = fetchurl {
url = mirror://sourceforge/boost/boost_1_34_1.tar.bz2;
sha256 = "0k7cjsgg3iqy49f9nnhyp945yry0bichd88p04sg3915n1snr1hg";
};
buildInputs = [icu zlib bzip2 python];
preConfigure="
sed -e 's@^BJAM_CONFIG=\"\"@BJAM_CONFIG=\"--layout=system release threading=multi link=shared\"@g' -i configure
";
configureFlags="--with-icu=${icu}";
}