3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/boost/default.nix
Eelco Dolstra 607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00

15 lines
465 B
Nix

{stdenv, fetchurl, icu, zlib, bzip2, python}:
stdenv.mkDerivation {
name = "boost-1.34.0";
src = fetchurl {
url = mirror://sourceforge/boost/boost_1_34_0.tar.bz2;
sha256 = "1lpganl8grvmy8rsbps5688yqiswvixjwz15d0kjfndp87xbhp25";
};
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}";
}