nixpkgs/pkgs/development/libraries/physics/thepeg/default.nix

30 lines
784 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, boost, fastjet, gsl, hepmc2, lhapdf, rivet, zlib }:
stdenv.mkDerivation rec {
pname = "thepeg";
version = "2.2.2";
src = fetchurl {
url = "https://www.hepforge.org/archive/thepeg/ThePEG-${version}.tar.bz2";
sha256 = "0gif4vb9lw2px2qdywqm7x0frbv0h5gq9lq36c50f2hv77a5bgwp";
};
2019-08-05 21:54:56 +01:00
buildInputs = [ boost fastjet gsl hepmc2 lhapdf rivet zlib ];
configureFlags = [
2019-08-05 21:54:56 +01:00
"--with-hepmc=${hepmc2}"
2018-05-30 21:06:34 +01:00
"--with-rivet=${rivet}"
"--without-javagui"
];
enableParallelBuilding = true;
meta = with lib; {
description = "Toolkit for High Energy Physics Event Generation";
homepage = "https://herwig.hepforge.org/";
2021-02-24 05:30:11 +00:00
license = licenses.gpl3Only;
maintainers = with maintainers; [ veprbl ];
platforms = platforms.unix;
};
}