1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/development/libraries/boost/1.34.1.nix
Peter Simons 6c58c97f3a boost: updated to 1.35.0 and added selectVersion dispatcher
svn path=/nixpkgs/trunk/; revision=12207
2008-06-28 15:22:23 +00:00

18 lines
534 B
Nix

{stdenv, fetchurl, icu, zlib, bzip2, python, version}:
assert version == "1.34.1";
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
";
patches = [./gcc-4.2.patch];
configureFlags="--with-icu=${icu}";
}