nixpkgs/pkgs/applications/science/misc/root/default.nix

25 lines
645 B
Nix
Raw Normal View History

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