about summary refs log tree commit diff
path: root/pkgs/development/libraries/physics/hoppet/default.nix
blob: af6200b9c57848ce5793b8e2cca13c29ebf1f369 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ 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 ];
  };
}