2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, gfortran, zlib }:
|
2018-09-24 18:25:38 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "QCDNUM";
|
2022-09-23 08:16:50 +00:00
|
|
|
version = "18-00-00";
|
2018-09-24 18:25:38 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.nikhef.nl/user/h24/qcdnum-files/download/qcdnum${builtins.replaceStrings ["-"] [""] version}.tar.gz";
|
2022-09-23 08:16:50 +00:00
|
|
|
hash = "sha256-4Qj5JreEA1LkCAunGRTTQD7YEYNk+HcQ4iH97DIO4gA=";
|
2018-09-24 18:25:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ gfortran ];
|
2019-11-16 17:42:04 +00:00
|
|
|
buildInputs = [ zlib ];
|
2018-09-24 18:25:38 +00:00
|
|
|
|
2021-12-05 20:56:11 +00:00
|
|
|
FFLAGS = [
|
|
|
|
"-std=legacy" # fix build with gfortran 10
|
|
|
|
];
|
|
|
|
|
2018-09-24 18:25:38 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "Very fast QCD evolution program written in FORTRAN77";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "qcdnum-config";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.gpl3;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.nikhef.nl/~h24/qcdnum/index.html";
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = with lib.maintainers; [ veprbl ];
|
2018-09-24 18:25:38 +00:00
|
|
|
};
|
|
|
|
}
|