diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2016-07-25 02:00:51 -0400 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2016-10-19 02:17:15 -0400 |
commit | 6aa5dc11f168a7d30bfe7b94cc0c23990f6ccc7f (patch) | |
tree | 72b02f47f54943c5067bd48cf464efa5d74c0fe7 /pkgs | |
parent | fd95f8f824110d5a757414d457497da675979d4b (diff) |
pythia: init at 8.219
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/physics/pythia/default.nix | 31 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/libraries/physics/pythia/default.nix b/pkgs/development/libraries/physics/pythia/default.nix new file mode 100644 index 0000000000000..5a422a1c7c15e --- /dev/null +++ b/pkgs/development/libraries/physics/pythia/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7276ea05dcf4d..ff7778bf0ac4a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { }; |