2008-06-28 17:22:23 +02:00
|
|
|
{ stdenv, fetchurl, icu, zlib, bzip2, python, version}:
|
|
|
|
|
|
|
|
assert version == "1.35.0";
|
|
|
|
|
2008-07-18 22:11:25 +02:00
|
|
|
stdenv.mkDerivation {
|
2008-06-28 17:22:23 +02:00
|
|
|
name = "boost-1.35.0";
|
2008-07-18 22:11:25 +02:00
|
|
|
meta = {
|
2008-06-28 17:22:23 +02:00
|
|
|
homepage = "http://boost.org/";
|
|
|
|
description = "Boost C++ Library Collection";
|
|
|
|
license = "boost-license";
|
|
|
|
};
|
2008-07-18 22:11:25 +02:00
|
|
|
src = fetchurl {
|
2008-06-28 17:22:23 +02:00
|
|
|
url = "mirror://sourceforge/boost/boost_1_35_0.tar.bz2";
|
|
|
|
sha256 = "f8bf7368a22ccf2e2cf77048ab2129744be4c03f8488c76ad31c0aa229b280da";
|
|
|
|
};
|
|
|
|
buildInputs = [icu zlib bzip2 python];
|
2008-07-18 22:11:25 +02:00
|
|
|
preConfigure =
|
|
|
|
"sed -e 's@^BJAM_CONFIG=\"\"@BJAM_CONFIG=\"--layout=system variant=debug,release threading=single,multi link=shared,static\"@g' -i configure";
|
2008-06-28 17:22:23 +02:00
|
|
|
configureFlags = "--with-icu=${icu} --with-python=${python}";
|
|
|
|
}
|