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

25 lines
717 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, gfortran, zlib }:
2018-09-24 19:25:38 +01:00
stdenv.mkDerivation rec {
pname = "QCDNUM";
2019-12-27 01:56:41 +00:00
version = "17-01-15";
2018-09-24 19:25:38 +01:00
src = fetchurl {
url = "http://www.nikhef.nl/user/h24/qcdnum-files/download/qcdnum${builtins.replaceStrings ["-"] [""] version}.tar.gz";
2019-12-27 01:56:41 +00:00
sha256 = "0ibk1sppss45qh0g8i2c99alkx82xdbss3p55f5367bxjx4iqvvg";
2018-09-24 19:25:38 +01:00
};
nativeBuildInputs = [ gfortran ];
buildInputs = [ zlib ];
2018-09-24 19:25:38 +01:00
enableParallelBuilding = true;
meta = {
description = "A very fast QCD evolution program written in FORTRAN77";
license = lib.licenses.gpl3;
homepage = "https://www.nikhef.nl/~h24/qcdnum/index.html";
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ veprbl ];
2018-09-24 19:25:38 +01:00
};
}