2016-04-18 03:30:46 +02:00
|
|
|
{ stdenv, fetchurl, fetchpatch, cmake, pkgconfig, python
|
|
|
|
, libX11, libXpm, libXft, libXext, zlib }:
|
2014-01-13 21:43:54 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-01-20 18:24:27 +01:00
|
|
|
name = "root-${version}";
|
2016-04-18 03:30:46 +02:00
|
|
|
version = "6.04.16";
|
2014-01-13 21:43:54 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-04-18 03:30:46 +02:00
|
|
|
url = "https://root.cern.ch/download/root_v${version}.source.tar.gz";
|
|
|
|
sha256 = "0f58dg83aqhggkxmimsfkd1qyni2vhmykq4qa89cz6jr9p73i1vm";
|
2014-01-13 21:43:54 +01:00
|
|
|
};
|
|
|
|
|
2016-04-18 03:30:46 +02:00
|
|
|
buildInputs = [ cmake pkgconfig python libX11 libXpm libXft libXext zlib ];
|
2015-09-01 08:21:46 +02:00
|
|
|
|
2016-04-18 03:30:46 +02:00
|
|
|
cmakeFlags = "-Drpath=ON";
|
2014-01-13 21:43:54 +01:00
|
|
|
|
2014-01-20 18:26:32 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-01-13 21:43:54 +01:00
|
|
|
meta = {
|
2014-01-20 18:24:27 +01:00
|
|
|
homepage = "http://root.cern.ch/drupal/";
|
2014-01-13 21:43:54 +01:00
|
|
|
description = "A data analysis framework";
|
2014-08-08 17:58:34 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-01-13 21:43:54 +01:00
|
|
|
};
|
|
|
|
}
|