3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/physics/qcdnum/default.nix
Renaud 57a19cb5b6
qcdnum: fix build
It was failing on Hydra with:
ld: cannot find -lz
2019-11-16 18:42:04 +01:00

25 lines
741 B
Nix

{ stdenv, fetchurl, gfortran, zlib }:
stdenv.mkDerivation rec {
pname = "QCDNUM";
version = "17-01-13";
src = fetchurl {
url = "http://www.nikhef.nl/user/h24/qcdnum-files/download/qcdnum${builtins.replaceStrings ["-"] [""] version}.tar.gz";
sha256 = "0568rjviwvjkfihq2ka7g91vmialr31ryn7c69iqf13rcv5vzcw7";
};
nativeBuildInputs = [ gfortran ];
buildInputs = [ zlib ];
enableParallelBuilding = true;
meta = {
description = "QCDNUM is a very fast QCD evolution program written in FORTRAN77";
license = stdenv.lib.licenses.gpl3;
homepage = https://www.nikhef.nl/~h24/qcdnum/index.html;
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ veprbl ];
};
}