2017-07-17 03:43:13 +01:00
|
|
|
{ stdenv, fetchurl, boost, fastjet, gfortran, lhapdf, python2, root, yoda, zlib }:
|
2016-12-30 17:32:03 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "fastnlo_toolkit";
|
2017-07-17 03:43:13 +01:00
|
|
|
version = "2.3.1pre-2402";
|
2016-12-30 17:32:03 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://fastnlo.hepforge.org/code/v23/${pname}-${version}.tar.gz";
|
2017-07-17 03:43:13 +01:00
|
|
|
sha256 = "1h41xnqcz401x3zbs8i2dsb4xlhbv8i5ps0561p6y7gcyridgcbl";
|
2016-12-30 17:32:03 +00:00
|
|
|
};
|
|
|
|
|
2017-07-17 03:43:13 +01:00
|
|
|
buildInputs = [ boost fastjet gfortran gfortran.cc.lib lhapdf python2 root yoda ];
|
|
|
|
propagatedBuildInputs = [ zlib ];
|
2016-12-30 17:32:03 +00:00
|
|
|
|
2017-07-17 03:43:13 +01:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace ./fastnlotoolkit/Makefile.in \
|
|
|
|
--replace "-fext-numeric-literals" ""
|
|
|
|
'';
|
2017-01-09 07:24:27 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-yoda=${yoda}"
|
|
|
|
];
|
|
|
|
|
2016-12-30 17:32:03 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
2017-04-29 05:24:34 +01:00
|
|
|
description = "A computer code to create and evaluate fast interpolation tables of pre-computed coefficients in perturbation theory for observables in hadron-induced processes";
|
2016-12-30 17:32:03 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
homepage = http://fastnlo.hepforge.org;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ veprbl ];
|
|
|
|
};
|
|
|
|
}
|