nixpkgs/pkgs/development/libraries/boost/default.nix
Yury G. Kudryashov 33f6eb6b03 Some upgrades needed for kde4:
* alsa-lib: 1.0.12 -> 1.0.14
* alsa-utils: 1.0.13 -> 1.0.14
* strigi: 0.5.1 -> 0.5.3dev
* libgpg-error: 1.0 -> 1.4
* gpgme: 1.0.3 -> 1.1.4
* cmake: 2.4.6 -> 2.4.7

* Some kde4 components added (not compilable yet).
* icu4c-3.6 added
* boost: added unicode support to RegEx, switched to "system" layout

svn path=/nixpkgs/trunk/; revision=9068
2007-08-08 13:20:18 +00:00

15 lines
487 B
Nix

{stdenv, fetchurl, icu, zlib, bzip2, python}:
stdenv.mkDerivation {
name = "boost-1.34.0";
src = fetchurl {
url = http://kent.dl.sourceforge.net/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}";
}