Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 29 lines 813 B view raw
1{ lib, stdenv, fetchurl, gfortran, zlib }: 2 3stdenv.mkDerivation rec { 4 pname = "QCDNUM"; 5 version = "18-00-00"; 6 7 src = fetchurl { 8 url = "http://www.nikhef.nl/user/h24/qcdnum-files/download/qcdnum${builtins.replaceStrings ["-"] [""] version}.tar.gz"; 9 hash = "sha256-4Qj5JreEA1LkCAunGRTTQD7YEYNk+HcQ4iH97DIO4gA="; 10 }; 11 12 nativeBuildInputs = [ gfortran ]; 13 buildInputs = [ zlib ]; 14 15 FFLAGS = [ 16 "-std=legacy" # fix build with gfortran 10 17 ]; 18 19 enableParallelBuilding = true; 20 21 meta = { 22 description = "Very fast QCD evolution program written in FORTRAN77"; 23 mainProgram = "qcdnum-config"; 24 license = lib.licenses.gpl3; 25 homepage = "https://www.nikhef.nl/~h24/qcdnum/index.html"; 26 platforms = lib.platforms.unix; 27 maintainers = with lib.maintainers; [ veprbl ]; 28 }; 29}