mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
28 lines
724 B
Nix
28 lines
724 B
Nix
|
{ stdenv, fetchurl, boost, fastjet, gsl, hepmc, lhapdf, rivet, zlib }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "thepeg-${version}";
|
||
|
version = "2.0.3";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "http://www.hepforge.org/archive/thepeg/ThePEG-${version}.tar.bz2";
|
||
|
sha256 = "0d26linwv92iq23n4gx154jvyd0lz5vg41kf4nxa01nspy7scyy5";
|
||
|
};
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
}
|