nixpkgs/pkgs/development/libraries/physics/pythia/default.nix
Ryan Mulligan 901576e846 pythia: 8.219 -> 8.226
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/whxh0pc4qfz97dhxsn8ya9pwy1w9msz1-pythia-8.226/bin/pythia8-config -h` got 0 exit code
- ran `/nix/store/whxh0pc4qfz97dhxsn8ya9pwy1w9msz1-pythia-8.226/bin/pythia8-config --help` got 0 exit code
- ran `/nix/store/whxh0pc4qfz97dhxsn8ya9pwy1w9msz1-pythia-8.226/bin/pythia8-config help` got 0 exit code
- ran `/nix/store/whxh0pc4qfz97dhxsn8ya9pwy1w9msz1-pythia-8.226/bin/pythia8-config -V` and found version 8.226
- ran `/nix/store/whxh0pc4qfz97dhxsn8ya9pwy1w9msz1-pythia-8.226/bin/pythia8-config -v` and found version 8.226
- ran `/nix/store/whxh0pc4qfz97dhxsn8ya9pwy1w9msz1-pythia-8.226/bin/pythia8-config --version` and found version 8.226
- ran `/nix/store/whxh0pc4qfz97dhxsn8ya9pwy1w9msz1-pythia-8.226/bin/pythia8-config version` and found version 8.226
- ran `/nix/store/whxh0pc4qfz97dhxsn8ya9pwy1w9msz1-pythia-8.226/bin/pythia8-config help` and found version 8.226
- found 8.226 with grep in /nix/store/whxh0pc4qfz97dhxsn8ya9pwy1w9msz1-pythia-8.226
- found 8.226 in filename of file in /nix/store/whxh0pc4qfz97dhxsn8ya9pwy1w9msz1-pythia-8.226

cc "@veprbl"
2018-02-28 15:02:21 +00:00

32 lines
888 B
Nix

{ stdenv, fetchurl, boost, fastjet, hepmc, lhapdf, rsync, zlib }:
stdenv.mkDerivation rec {
name = "pythia-${version}";
version = "8.226";
src = fetchurl {
url = "http://home.thep.lu.se/~torbjorn/pythia8/pythia${builtins.replaceStrings ["."] [""] version}.tgz";
sha256 = "1jfjkq78d1llrrm2k5pgsl92a5z8af9rx3n83rzv28lxrqdjix4g";
};
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;
maintainers = with stdenv.lib.maintainers; [ veprbl ];
};
}