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/development/libraries/physics | |
parent | fd95f8f824110d5a757414d457497da675979d4b (diff) |
pythia: init at 8.219
Diffstat (limited to 'pkgs/development/libraries/physics')
-rw-r--r-- | pkgs/development/libraries/physics/pythia/default.nix | 31 |
1 files changed, 31 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; + }; +} |