git.iko.soy/typeable/nixpkgs
on master help sign in
root: 6.04.16 -> 6.04.18 (#17265)

root: compile against external gsl Revert "Revert "root: enable parallel building"" This reverts commit ee1a10ee6b4b0a1a22e3e0dbbcf96a2d667d0685. ROOT has no problems with parallel build. The problems that caused the original commit were not related to parallel building.

commit4449ecb617a5d0bdc59898ccc7d246abbd10c359 authorDmitry Kalinkin <dmitry.kalinkin@gmail.com> dateFri 29 Jul 2016, 20:41 (10 years ago) parentad470d5
1 file changed+13−4
pkgs/applications/science/misc/root/default.nix+13−4
pkgs/applications/science/misc/root/default.nix+13−4
@@ -1,16 +1,23 @@
11{ stdenv, fetchurl, fetchpatch, cmake, pkgconfig, python
2−, libX11, libXpm, libXft, libXext, zlib, lzma }:
2+, libX11, libXpm, libXft, libXext, zlib, lzma, gsl }:
33
44stdenv.mkDerivation rec {
55 name = "root-${version}";
6− version = "6.04.16";
6+ version = "6.04.18";
77
88 src = fetchurl {
99 url = "https://root.cern.ch/download/root_v${version}.source.tar.gz";
10− sha256 = "0f58dg83aqhggkxmimsfkd1qyni2vhmykq4qa89cz6jr9p73i1vm";
10+ sha256 = "00f3v3l8nimfkcxpn9qpyh3h23na0mi4wkds2y5gwqh8wh3jryq9";
1111 };
1212
13− buildInputs = [ cmake pkgconfig python libX11 libXpm libXft libXext zlib lzma ];
13+ buildInputs = [ cmake pkgconfig python libX11 libXpm libXft libXext zlib lzma gsl ];
14+
15+ patches = [
16+ (fetchpatch {
17+ url = "https://github.com/root-mirror/root/commit/ee9964210c56e7c1868618a4434c5340fef38fe4.patch";
18+ sha256 = "186i7ni75yvjydy6lpmaplqxfb5z2019bgpbhff1n6zn2qlrff2r";
19+ })
20+ ];
1421
1522 preConfigure = ''
1623 patchShebangs build/unix/
@@ -23,6 +30,8 @@ stdenv.mkDerivation rec {
2330 ]
2431 ++ stdenv.lib.optional (stdenv.cc.libc != null) "-DC_INCLUDE_DIRS=${stdenv.cc.libc}/include";
2532
33+ enableParallelBuilding = true;
34+
2635 meta = {
2736 homepage = "https://root.cern.ch/";
2837 description = "A data analysis framework";