2021-01-21 17:00:13 +00:00
|
|
|
{ lib, 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";
|
2021-02-24 04:56:37 +00:00
|
|
|
version = "2.2.2";
|
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";
|
2021-02-24 04:56:37 +00:00
|
|
|
sha256 = "0gif4vb9lw2px2qdywqm7x0frbv0h5gq9lq36c50f2hv77a5bgwp";
|
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;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-07-17 17:00:17 +01:00
|
|
|
description = "Toolkit for High Energy Physics Event Generation";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://herwig.hepforge.org/";
|
2021-02-24 05:30:11 +00:00
|
|
|
license = licenses.gpl3Only;
|
2019-12-16 01:56:40 +00:00
|
|
|
maintainers = with maintainers; [ veprbl ];
|
|
|
|
platforms = platforms.unix;
|
2016-07-17 17:00:17 +01:00
|
|
|
};
|
|
|
|
}
|