lol
at 23.05-pre 29 lines 781 B view raw
1{ lib, stdenv, fetchurl, boost, fastjet, gsl, hepmc2, lhapdf, rivet, zlib }: 2 3stdenv.mkDerivation rec { 4 pname = "thepeg"; 5 version = "2.2.3"; 6 7 src = fetchurl { 8 url = "https://www.hepforge.org/archive/thepeg/ThePEG-${version}.tar.bz2"; 9 hash = "sha256-8hRzGXp2H8MpF7CKjSTSv6+T/1fzRB/WBdqZrJ3l1Qs="; 10 }; 11 12 buildInputs = [ boost fastjet gsl hepmc2 lhapdf rivet zlib ]; 13 14 configureFlags = [ 15 "--with-hepmc=${hepmc2}" 16 "--with-rivet=${rivet}" 17 "--without-javagui" 18 ]; 19 20 enableParallelBuilding = true; 21 22 meta = with lib; { 23 description = "Toolkit for High Energy Physics Event Generation"; 24 homepage = "https://herwig.hepforge.org/"; 25 license = licenses.gpl3Only; 26 maintainers = with maintainers; [ veprbl ]; 27 platforms = platforms.unix; 28 }; 29}