2019-08-05 16:54:56 -04:00
|
|
|
{ stdenv, fetchurl, boost, fastjet, gsl, hepmc2, lhapdf, rivet, zlib }:
|
2016-07-17 12:00:17 -04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "thepeg";
|
2020-04-11 14:22:29 -04:00
|
|
|
version = "2.2.1";
|
2016-07-17 12:00:17 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://www.hepforge.org/archive/thepeg/ThePEG-${version}.tar.bz2";
|
2020-04-11 14:22:29 -04:00
|
|
|
sha256 = "13x5gssv22mpa2w6i0vaalwcr57170vh3b4xrw8mrm3abqhwgav3";
|
2016-07-17 12:00:17 -04:00
|
|
|
};
|
|
|
|
|
2019-08-05 16:54:56 -04:00
|
|
|
buildInputs = [ boost fastjet gsl hepmc2 lhapdf rivet zlib ];
|
2016-07-17 12:00:17 -04:00
|
|
|
|
|
|
|
configureFlags = [
|
2019-08-05 16:54:56 -04:00
|
|
|
"--with-hepmc=${hepmc2}"
|
2018-05-30 16:06:34 -04:00
|
|
|
"--with-rivet=${rivet}"
|
2016-07-17 12:00:17 -04:00
|
|
|
"--without-javagui"
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-12-15 20:56:40 -05:00
|
|
|
meta = with stdenv.lib; {
|
2016-07-17 12:00:17 -04:00
|
|
|
description = "Toolkit for High Energy Physics Event Generation";
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://herwig.hepforge.org/";
|
2019-12-15 20:56:40 -05:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
|
|
|
platforms = platforms.unix;
|
2016-07-17 12:00:17 -04:00
|
|
|
};
|
|
|
|
}
|