mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
a16eebd0a6
This patch moves curly braces to the end of the line, i.e. foo = { ... }; instead of the previously used style: foo = { ... }; I commit this change hoping that my contributions to this project now conform to the rules described in maintainers/docs/coding-conventions.txt so that the self-appointed indention sheriff of the NixOS community can finally get off my back and rest assured knowing that all i's are dotted and all t's are crossed. svn path=/nixpkgs/trunk/; revision=12386
21 lines
703 B
Nix
21 lines
703 B
Nix
{ stdenv, fetchurl, icu, zlib, bzip2, python, version}:
|
|
|
|
assert version == "1.35.0";
|
|
|
|
stdenv.mkDerivation {
|
|
name = "boost-1.35.0";
|
|
meta = {
|
|
homepage = "http://boost.org/";
|
|
description = "Boost C++ Library Collection";
|
|
license = "boost-license";
|
|
};
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/boost/boost_1_35_0.tar.bz2";
|
|
sha256 = "f8bf7368a22ccf2e2cf77048ab2129744be4c03f8488c76ad31c0aa229b280da";
|
|
};
|
|
buildInputs = [icu zlib bzip2 python];
|
|
preConfigure =
|
|
"sed -e 's@^BJAM_CONFIG=\"\"@BJAM_CONFIG=\"--layout=system variant=debug,release threading=single,multi link=shared,static\"@g' -i configure";
|
|
configureFlags = "--with-icu=${icu} --with-python=${python}";
|
|
}
|