nixpkgs-suyu/pkgs/development/libraries/physics/qcdnum/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

23 lines
709 B
Nix

{ stdenv, fetchurl, gfortran }:
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 ];
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 ];
};
}