2019-01-11 03:10:05 +00:00
|
|
|
{ stdenv, fetchurl, gfortran, perl }:
|
2018-09-24 19:23:41 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "hoppet";
|
2018-09-24 19:23:41 +01:00
|
|
|
version = "1.2.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://hoppet.hepforge.org/downloads/${pname}-${version}.tgz";
|
2018-09-24 19:23:41 +01:00
|
|
|
sha256 = "0j7437rh4xxbfzmkjr22ry34xm266gijzj6mvrq193fcsfzipzdz";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gfortran ];
|
2019-01-11 03:10:05 +00:00
|
|
|
nativeBuildInputs = [ perl ];
|
2018-09-24 19:23:41 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-01-11 03:10:05 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
2018-09-24 19:23:41 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Higher Order Perturbative Parton Evolution Toolkit";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
homepage = https://hoppet.hepforge.org;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
|
|
|
};
|
|
|
|
}
|