2016-07-17 18:00:17 +02:00
|
|
|
{ stdenv, fetchurl, boost, fastjet, gsl, hepmc, lhapdf, rivet, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "thepeg-${version}";
|
2018-02-28 02:27:26 +01:00
|
|
|
version = "2.1.2";
|
2016-07-17 18:00:17 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.hepforge.org/archive/thepeg/ThePEG-${version}.tar.bz2";
|
2018-02-28 02:27:26 +01:00
|
|
|
sha256 = "0jbz70ax05w3lpjvz71fnfz35rcjp0jry1nyjpa662714xd6f3va";
|
2016-07-17 18:00:17 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ boost fastjet gsl hepmc lhapdf rivet zlib ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-hepmc=${hepmc}"
|
|
|
|
"--without-javagui"
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Toolkit for High Energy Physics Event Generation";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
homepage = https://herwig.hepforge.org/;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-10-22 12:05:23 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ veprbl ];
|
2016-07-17 18:00:17 +02:00
|
|
|
};
|
|
|
|
}
|