depot/third_party/nixpkgs/pkgs/development/libraries/physics/hoppet/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
691 B
Nix

{ stdenv, fetchurl, gfortran, perl }:
stdenv.mkDerivation rec {
pname = "hoppet";
version = "1.2.0";
src = fetchurl {
url = "https://hoppet.hepforge.org/downloads/${pname}-${version}.tgz";
sha256 = "0j7437rh4xxbfzmkjr22ry34xm266gijzj6mvrq193fcsfzipzdz";
};
buildInputs = [ gfortran ];
nativeBuildInputs = [ perl ];
enableParallelBuilding = true;
preConfigure = ''
patchShebangs .
'';
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 ];
};
}