sherpa: add useful dependencies

This commit is contained in:
Dmitry Kalinkin 2017-01-07 01:36:51 -05:00
parent 2f23d60323
commit 0f71012fe6
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, gfortran, sqlite }:
{ stdenv, fetchurl, gfortran, hepmc, fastjet, lhapdf, rivet, sqlite }:
stdenv.mkDerivation rec {
name = "sherpa-${version}";
@ -9,11 +9,19 @@ stdenv.mkDerivation rec {
sha256 = "13vkz6w8kqyv8sgy3mxnlps5ykml5rnlj50vjj0pp9rgbl5y8ali";
};
buildInputs = [ gfortran sqlite ];
buildInputs = [ gfortran sqlite lhapdf rivet ];
enableParallelBuilding = true;
configureFlags = "--with-sqlite3=${sqlite.dev}";
configureFlags = [
"--with-sqlite3=${sqlite.dev}"
"--enable-hepmc2=${hepmc}"
"--enable-fastjet=${fastjet}"
"--enable-lhapdf=${lhapdf}"
"--enable-rivet=${rivet}"
];
CXXFLAGS = "-std=c++11"; # needed for rivet on OSX
meta = {
description = "Simulation of High-Energy Reactions of PArticles in lepton-lepton, lepton-photon, photon-photon, lepton-hadron and hadron-hadron collisions";