git.iko.soy/typeable/nixpkgs
on master help sign in
mcgrid: init at 2.0.2
commit2dd8aea4bbd5b7eb9cc3b9f173de9cfd6ef66e55 authorDmitry Kalinkin <dmitry.kalinkin@gmail.com> dateFri 30 Dec 2016, 12:33 (10 years ago) parent8fb6895
2 files changed+31
pkgs/development/libraries/physics/mcgrid/default.nix+29 pkgs/top-level/all-packages.nix+2
pkgs/development/libraries/physics/mcgrid/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ stdenv, fetchurl, fastnlo, rivet, sherpa }:
2+
3+stdenv.mkDerivation rec {
4+ name = "mcgrid-${version}";
5+ version = "2.0.2";
6+
7+ src = fetchurl {
8+ url = "http://www.hepforge.org/archive/mcgrid/${name}.tar.gz";
9+ sha256 = "1mw82x7zqbdchnd6shj3dirsav5i2cndp2hjwb8a8xdh4xh9zvfy";
10+ };
11+
12+ buildInputs = [ fastnlo rivet ];
13+
14+ preConfigure = ''
15+ substituteInPlace mcgrid.pc.in \
16+ --replace "Cflags:" "Cflags: -std=c++11"
17+ '';
18+
19+ CXXFLAGS = "-std=c++11";
20+ enableParallelBuilding = true;
21+
22+ meta = {
23+ 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";
24+ license = stdenv.lib.licenses.gpl3;
25+ homepage = http://mcgrid.hepforge.org;
26+ platforms = stdenv.lib.platforms.unix;
27+ maintainers = with stdenv.lib.maintainers; [ veprbl ];
28+ };
29+}
pkgs/top-level/all-packages.nix+2
@@ -17165,6 +17165,8 @@ in
1716517165
1716617166 lhapdf = callPackage ../development/libraries/physics/lhapdf { };
1716717167
17168+ mcgrid = callPackage ../development/libraries/physics/mcgrid { };
17169+
1716817170 nlojet = callPackage ../development/libraries/physics/nlojet { };
1716917171
1717017172 pythia = callPackage ../development/libraries/physics/pythia { };