1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

pythia: init at 8.219

This commit is contained in:
Dmitry Kalinkin 2016-07-25 02:00:51 -04:00
parent fd95f8f824
commit 6aa5dc11f1
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ stdenv, fetchurl, boost, fastjet, hepmc, lhapdf, rsync, zlib }:
stdenv.mkDerivation rec {
name = "pythia-${version}";
version = "8.219";
src = fetchurl {
url = "http://home.thep.lu.se/~torbjorn/pythia8/pythia${builtins.replaceStrings ["."] [""] version}.tgz";
sha256 = "13fhphddl0jir8jyjvj6a9qz14wiv02q9lby8mcdyv8gsw0ir8hy";
};
buildInputs = [ boost fastjet hepmc zlib rsync lhapdf ];
preConfigure = ''
patchShebangs ./configure
'';
configureFlags = [
"--enable-shared"
"--with-hepmc2=${hepmc}"
];
enableParallelBuilding = true;
meta = {
description = "A program for the generation of high-energy physics events";
license = stdenv.lib.licenses.gpl2;
homepage = http://home.thep.lu.se/~torbjorn/Pythia.html;
platforms = stdenv.lib.platforms.unix;
};
}

View file

@ -16723,6 +16723,8 @@ in
lhapdf = callPackage ../development/libraries/physics/lhapdf { };
pythia = callPackage ../development/libraries/physics/pythia { };
rivet = callPackage ../development/libraries/physics/rivet { };
thepeg = callPackage ../development/libraries/physics/thepeg { };