2016-07-17 17:00:17 +01:00
|
|
|
{ stdenv, fetchurl, boost, fastjet, gsl, hepmc, lhapdf, rivet, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "thepeg-${version}";
|
2018-11-01 02:13:52 +00:00
|
|
|
version = "2.1.4";
|
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";
|
2018-11-01 02:13:52 +00:00
|
|
|
sha256 = "1x9dfxmsbmzmsxrv3cczfyrnqkxjcpy89v6v7ycysrx9k8qkf320";
|
2016-07-17 17:00:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ boost fastjet gsl hepmc lhapdf rivet zlib ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-hepmc=${hepmc}"
|
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
|
|
|
};
|
|
|
|
}
|