2014-01-13 20:43:54 +00:00
|
|
|
{ stdenv, fetchurl, cmake, mesa, libX11, gfortran, libXpm, libXft, libXext, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-01-20 17:24:27 +00:00
|
|
|
name = "root-${version}";
|
2014-03-03 10:08:42 +00:00
|
|
|
version = "5.34.15";
|
2014-01-13 20:43:54 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-01-20 17:24:27 +00:00
|
|
|
url = "ftp://root.cern.ch/root/root_v${version}.source.tar.gz";
|
2014-03-03 10:08:42 +00:00
|
|
|
sha256 = "1bkiggcyya39a794d3d2rzzmmkbdymf86hbqhh0l1pl4f38xvp6i";
|
2014-01-13 20:43:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake gfortran mesa libX11 libXpm libXft libXext zlib ];
|
|
|
|
|
|
|
|
# CMAKE_INSTALL_RPATH_USE_LINK_PATH is set to FALSE in
|
|
|
|
# <rootsrc>/cmake/modules/RootBuildOptions.cmake.
|
|
|
|
# This patch sets it to TRUE.
|
|
|
|
patches = [ ./cmake.patch ];
|
|
|
|
patchFlags = "-p0";
|
|
|
|
|
2014-01-20 17:26:32 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-01-13 20:43:54 +00:00
|
|
|
meta = {
|
2014-01-20 17:24:27 +00:00
|
|
|
homepage = "http://root.cern.ch/drupal/";
|
2014-01-13 20:43:54 +00:00
|
|
|
description = "A data analysis framework";
|
2014-08-08 16:58:34 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-01-13 20:43:54 +00:00
|
|
|
};
|
|
|
|
}
|