depot/third_party/nixpkgs/pkgs/development/libraries/physics/hoppet/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

28 lines
689 B
Nix

{ lib, 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 lib; {
description = "Higher Order Perturbative Parton Evolution Toolkit";
license = licenses.gpl2;
homepage = "https://hoppet.hepforge.org";
platforms = platforms.unix;
maintainers = with maintainers; [ veprbl ];
};
}