depot/third_party/nixpkgs/pkgs/development/libraries/physics/hoppet/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

28 lines
704 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";
};
nativeBuildInputs = [ perl gfortran ];
enableParallelBuilding = true;
preConfigure = ''
patchShebangs .
'';
meta = with lib; {
description = "Higher Order Perturbative Parton Evolution Toolkit";
mainProgram = "hoppet-config";
license = licenses.gpl2;
homepage = "https://hoppet.hepforge.org";
platforms = platforms.unix;
maintainers = with maintainers; [ veprbl ];
};
}