Merge pull request #14843 from veprbl/root_nixosfix

root: fix NixOS build, build with lzma from nix, update homepage url
This commit is contained in:
Peter Simons 2016-04-20 10:11:55 +02:00
commit b8a817ec57

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, fetchpatch, cmake, pkgconfig, python
, libX11, libXpm, libXft, libXext, zlib }:
, libX11, libXpm, libXft, libXext, zlib, lzma }:
stdenv.mkDerivation rec {
name = "root-${version}";
@ -10,14 +10,17 @@ stdenv.mkDerivation rec {
sha256 = "0f58dg83aqhggkxmimsfkd1qyni2vhmykq4qa89cz6jr9p73i1vm";
};
buildInputs = [ cmake pkgconfig python libX11 libXpm libXft libXext zlib ];
buildInputs = [ cmake pkgconfig python libX11 libXpm libXft libXext zlib lzma ];
cmakeFlags = "-Drpath=ON";
cmakeFlags = [
"-Drpath=ON"
]
++ stdenv.lib.optional (stdenv.cc.libc != null) "-DC_INCLUDE_DIRS=${stdenv.cc.libc}/include";
enableParallelBuilding = true;
meta = {
homepage = "http://root.cern.ch/drupal/";
homepage = "https://root.cern.ch/";
description = "A data analysis framework";
platforms = stdenv.lib.platforms.linux;
};