nixpkgs/pkgs/development/libraries/boost/1.38.0.nix
Peter Simons 05eb6625ed Bumped boost libraries to version 1.38.0.
svn path=/nixpkgs/trunk/; revision=14031
2009-02-11 10:02:10 +00:00

21 lines
767 B
Nix

{ stdenv, fetchurl, icu, expat, zlib, bzip2, python, version }:
assert version == "1.38.0";
stdenv.mkDerivation {
name = "boost-1.38.0";
meta = {
homepage = "http://boost.org/";
description = "Boost C++ Library Collection";
license = "boost-license";
};
src = fetchurl {
url = "mirror://sourceforge/boost/boost_1_38_0.tar.bz2";
sha256 = "1bs3b11y66xkdqjl38xb20hipx0pjr0h72fj6755655j6b4kz37z";
};
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}";
}