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

30 lines
872 B
Nix
Raw Normal View History

2016-12-30 17:32:03 +00:00
{ 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 ];
2017-01-09 07:24:27 +00:00
CXXFLAGS="-std=c++11"; # for yoda
configureFlags = [
"--with-yoda=${yoda}"
];
2016-12-30 17:32:03 +00:00
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 ];
};
}