sherpa: add useful dependencies
This commit is contained in:
parent
2f23d60323
commit
0f71012fe6
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user