From 3c3e2dfd0a0a0ee734f9bb733cdf91560c5363bf Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Fri, 30 Dec 2016 12:32:03 -0500 Subject: [PATCH] fastnlo: init at 2.3.1pre-2212 --- .../libraries/physics/fastnlo/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/libraries/physics/fastnlo/default.nix diff --git a/pkgs/development/libraries/physics/fastnlo/default.nix b/pkgs/development/libraries/physics/fastnlo/default.nix new file mode 100644 index 000000000000..703681337063 --- /dev/null +++ b/pkgs/development/libraries/physics/fastnlo/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, boost, lhapdf, root, yoda }: + +stdenv.mkDerivation rec { + name = "fastnlo_toolkit-${version}"; + version = "2.3.1pre-2212"; + + src = fetchurl { + url = "http://fastnlo.hepforge.org/code/v23/${name}.tar.gz"; + sha256 = "0xgnnwc002awvz6dhn7792jc8kdff843yjgvwmgcs60yvcj6blgp"; + }; + + buildInputs = [ boost lhapdf root yoda ]; + + enableParallelBuilding = true; + + meta = { + descritption = "A computer code to create and evaluate fast interpolation tables of pre-computed coefficients in perturbation theory for observables in hadron-induced processes"; + license = stdenv.lib.licenses.gpl3; + homepage = http://fastnlo.hepforge.org; + platforms = stdenv.lib.platforms.unix; + maintainers = with stdenv.lib.maintainers; [ veprbl ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d9842aaede35..cb9e18bdc393 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17129,6 +17129,8 @@ in fastjet = callPackage ../development/libraries/physics/fastjet { }; + fastnlo = callPackage ../development/libraries/physics/fastnlo { }; + geant4 = callPackage ../development/libraries/physics/geant4 { enableMultiThreading = true; enableG3toG4 = false;