2019-08-05 21:54:56 +01:00
|
|
|
{ stdenv, fetchurl, boost, fastjet, gsl, hepmc2, lhapdf, rivet, zlib }:
|
2016-07-17 17:00:17 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "thepeg";
|
2019-04-05 04:32:47 +01:00
|
|
|
version = "2.1.5";
|
2016-07-17 17:00:17 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://www.hepforge.org/archive/thepeg/ThePEG-${version}.tar.bz2";
|
2019-04-05 04:32:47 +01:00
|
|
|
sha256 = "1rmmwhk9abn9mc9j3127axjwpvymv21ld4wcivwz01pldkxh06n6";
|
2016-07-17 17:00:17 +01:00
|
|
|
};
|
|
|
|
|
2019-08-05 21:54:56 +01:00
|
|
|
buildInputs = [ boost fastjet gsl hepmc2 lhapdf rivet zlib ];
|
2016-07-17 17:00:17 +01:00
|
|
|
|
|
|
|
configureFlags = [
|
2019-08-05 21:54:56 +01:00
|
|
|
"--with-hepmc=${hepmc2}"
|
2018-05-30 21:06:34 +01:00
|
|
|
"--with-rivet=${rivet}"
|
2016-07-17 17:00:17 +01:00
|
|
|
"--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 11:05:23 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ veprbl ];
|
2016-07-17 17:00:17 +01:00
|
|
|
};
|
|
|
|
}
|