sherpa: add useful dependencies
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, gfortran, sqlite }:
|
{ stdenv, fetchurl, gfortran, hepmc, fastjet, lhapdf, rivet, sqlite }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "sherpa-${version}";
|
name = "sherpa-${version}";
|
||||||
@@ -9,11 +9,19 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "13vkz6w8kqyv8sgy3mxnlps5ykml5rnlj50vjj0pp9rgbl5y8ali";
|
sha256 = "13vkz6w8kqyv8sgy3mxnlps5ykml5rnlj50vjj0pp9rgbl5y8ali";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gfortran sqlite ];
|
buildInputs = [ gfortran sqlite lhapdf rivet ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
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 = {
|
meta = {
|
||||||
description = "Simulation of High-Energy Reactions of PArticles in lepton-lepton, lepton-photon, photon-photon, lepton-hadron and hadron-hadron collisions";
|
description = "Simulation of High-Energy Reactions of PArticles in lepton-lepton, lepton-photon, photon-photon, lepton-hadron and hadron-hadron collisions";
|
||||||
|
|||||||
Reference in New Issue
Block a user