root: clean up meta section and move build into 'science/misc' section

This commit is contained in:
Peter Simons
2014-01-20 18:24:27 +01:00
parent 6475f0d1fe
commit baeb19d0ce
2 changed files with 4 additions and 3 deletions
@@ -0,0 +1,25 @@
{ stdenv, fetchurl, cmake, mesa, libX11, gfortran, libXpm, libXft, libXext, zlib }:
stdenv.mkDerivation rec {
name = "root-${version}";
version = "5.34.14";
src = fetchurl {
url = "ftp://root.cern.ch/root/root_v${version}.source.tar.gz";
sha256 = "d5347ba1b614eb083cf08050b784d66a93c125ed89938708da1adb33323dee2b";
};
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";
meta = {
homepage = "http://root.cern.ch/drupal/";
description = "A data analysis framework";
platforms = stdenv.lib.platforms.mesaPlatforms;
};
}