mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 06:05:13 +00:00
4328629bf8
There is no `stdenv.maintainers`. /cc @veprbl.
33 lines
888 B
Nix
33 lines
888 B
Nix
{ 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;
|
|
maintainers = with stdenv.lib.maintainers; [ veprbl ];
|
|
};
|
|
}
|