3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/physics/thepeg/default.nix
Dmitry Kalinkin 19803a3b69
herwig: 7.1.4
thepeg: 2.1.4
2018-10-31 22:13:52 -04:00

30 lines
812 B
Nix

{ stdenv, fetchurl, boost, fastjet, gsl, hepmc, lhapdf, rivet, zlib }:
stdenv.mkDerivation rec {
name = "thepeg-${version}";
version = "2.1.4";
src = fetchurl {
url = "https://www.hepforge.org/archive/thepeg/ThePEG-${version}.tar.bz2";
sha256 = "1x9dfxmsbmzmsxrv3cczfyrnqkxjcpy89v6v7ycysrx9k8qkf320";
};
buildInputs = [ boost fastjet gsl hepmc lhapdf rivet zlib ];
configureFlags = [
"--with-hepmc=${hepmc}"
"--with-rivet=${rivet}"
"--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;
maintainers = with stdenv.lib.maintainers; [ veprbl ];
};
}