nixpkgs/pkgs/development/libraries/physics/thepeg/default.nix
Dmitry Kalinkin 95b0bc0989
herwig: 7.1.6 -> 7.2.0
thepeg: 2.1.6 -> 2.2.0
2019-12-15 20:56:40 -05:00

29 lines
780 B
Nix

{ stdenv, fetchurl, boost, fastjet, gsl, hepmc2, lhapdf, rivet, zlib }:
stdenv.mkDerivation rec {
pname = "thepeg";
version = "2.2.0";
src = fetchurl {
url = "https://www.hepforge.org/archive/thepeg/ThePEG-${version}.tar.bz2";
sha256 = "1y7vwsc4zk629np4rpjh7a8qzvyqc2fixnwq98dgdndp2544gqfk";
};
buildInputs = [ boost fastjet gsl hepmc2 lhapdf rivet zlib ];
configureFlags = [
"--with-hepmc=${hepmc2}"
"--with-rivet=${rivet}"
"--without-javagui"
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Toolkit for High Energy Physics Event Generation";
homepage = https://herwig.hepforge.org/;
license = licenses.gpl3;
maintainers = with maintainers; [ veprbl ];
platforms = platforms.unix;
};
}