root: fix NixOS build, build with lzma from nix, update homepage url

This commit is contained in:
Dmitry Kalinkin 2016-04-20 01:41:46 -04:00
parent d99eaf005c
commit f2200369e5

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;
};