3
0
Fork 0
forked from mirrors/nixpkgs

mcgrid: init at 2.0.2

This commit is contained in:
Dmitry Kalinkin 2016-12-30 12:33:51 -05:00
parent 8fb6895614
commit 2dd8aea4bb
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv, fetchurl, fastnlo, rivet, sherpa }:
stdenv.mkDerivation rec {
name = "mcgrid-${version}";
version = "2.0.2";
src = fetchurl {
url = "http://www.hepforge.org/archive/mcgrid/${name}.tar.gz";
sha256 = "1mw82x7zqbdchnd6shj3dirsav5i2cndp2hjwb8a8xdh4xh9zvfy";
};
buildInputs = [ fastnlo rivet ];
preConfigure = ''
substituteInPlace mcgrid.pc.in \
--replace "Cflags:" "Cflags: -std=c++11"
'';
CXXFLAGS = "-std=c++11";
enableParallelBuilding = true;
meta = {
description = "A software package that provides access to the APPLgrid and fastNLO interpolation tools for Monte Carlo event generator codes, allowing for fast and flexible variations of scales, coupling parameters and PDFs in cutting edge leading- and next-to-leading-order QCD calculations";
license = stdenv.lib.licenses.gpl3;
homepage = http://mcgrid.hepforge.org;
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ veprbl ];
};
}

View file

@ -17165,6 +17165,8 @@ in
lhapdf = callPackage ../development/libraries/physics/lhapdf { };
mcgrid = callPackage ../development/libraries/physics/mcgrid { };
nlojet = callPackage ../development/libraries/physics/nlojet { };
pythia = callPackage ../development/libraries/physics/pythia { };