bdce76effb
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/wl85ali5l9g4naazpbkdlk3aqrlwi2g4-herwig-7.1.2/bin/gosam2herwig -h` got 0 exit code - ran `/nix/store/wl85ali5l9g4naazpbkdlk3aqrlwi2g4-herwig-7.1.2/bin/gosam2herwig --help` got 0 exit code - ran `/nix/store/wl85ali5l9g4naazpbkdlk3aqrlwi2g4-herwig-7.1.2/bin/mg2herwig -h` got 0 exit code - ran `/nix/store/wl85ali5l9g4naazpbkdlk3aqrlwi2g4-herwig-7.1.2/bin/mg2herwig --help` got 0 exit code - ran `/nix/store/wl85ali5l9g4naazpbkdlk3aqrlwi2g4-herwig-7.1.2/bin/herwig-mergegrids -h` got 0 exit code - ran `/nix/store/wl85ali5l9g4naazpbkdlk3aqrlwi2g4-herwig-7.1.2/bin/herwig-mergegrids --help` got 0 exit code - ran `/nix/store/wl85ali5l9g4naazpbkdlk3aqrlwi2g4-herwig-7.1.2/bin/Herwig -h` got 0 exit code - ran `/nix/store/wl85ali5l9g4naazpbkdlk3aqrlwi2g4-herwig-7.1.2/bin/Herwig --help` got 0 exit code - ran `/nix/store/wl85ali5l9g4naazpbkdlk3aqrlwi2g4-herwig-7.1.2/bin/Herwig -V` and found version 7.1.2 - ran `/nix/store/wl85ali5l9g4naazpbkdlk3aqrlwi2g4-herwig-7.1.2/bin/Herwig --version` and found version 7.1.2 - ran `/nix/store/wl85ali5l9g4naazpbkdlk3aqrlwi2g4-herwig-7.1.2/bin/Herwig -h` and found version 7.1.2 - ran `/nix/store/wl85ali5l9g4naazpbkdlk3aqrlwi2g4-herwig-7.1.2/bin/Herwig --help` and found version 7.1.2 - found 7.1.2 with grep in /nix/store/wl85ali5l9g4naazpbkdlk3aqrlwi2g4-herwig-7.1.2 cc "@veprbl"
35 lines
1 KiB
Nix
35 lines
1 KiB
Nix
{ stdenv, fetchpatch, fetchurl, boost, fastjet, gfortran, gsl, lhapdf, thepeg, zlib, autoconf, automake, libtool }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "herwig-${version}";
|
|
version = "7.1.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.hepforge.org/archive/herwig/Herwig-${version}.tar.bz2";
|
|
sha256 = "0wr2mmmf5rlvcc6xgdagafm6vb5g6ifvrjc7kd86gs9jip32p29i";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoconf automake libtool ];
|
|
|
|
buildInputs = [ boost fastjet gfortran gsl thepeg zlib ]
|
|
# There is a bug that requires for MMHT PDF's to be presend during the build
|
|
++ (with lhapdf.pdf_sets; [ MMHT2014lo68cl MMHT2014nlo68cl ]);
|
|
|
|
postPatch = ''
|
|
patchShebangs ./cat_with_cpplines
|
|
'';
|
|
|
|
configureFlags = [
|
|
"--with-thepeg=${thepeg}"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
description = "A multi-purpose particle physics event generator";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
homepage = https://herwig.hepforge.org/;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
maintainers = with stdenv.lib.maintainers; [ veprbl ];
|
|
};
|
|
}
|