1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/development/libraries/boost/1.36.0.nix
Peter Simons 0ee3317bc5 boost: added version 1.36.0
Also added support for expat library (used by the graph library). This package
should probably be built on the compile farm because it takes quite a while to
complete, even on a fast machine. Having pre-built binaries would be very nice.

svn path=/nixpkgs/trunk/; revision=12702
2008-08-25 10:00:46 +00:00

21 lines
767 B
Nix

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