about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/physics/apfelgrid/default.nix
blob: 2c6c9702c249da1c86712b560cfa76853bbda176 (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
{ lib, stdenv, fetchFromGitHub, autoreconfHook, apfel, applgrid, lhapdf, root5 }:

stdenv.mkDerivation rec {
  pname = "apfelgrid";
  version = "1.0.1";

  src = fetchFromGitHub {
    owner = "nhartland";
    repo = "APFELgrid";
    rev = "v${version}";
    sha256 = "0l0cyxd00kmb5aggzwsxg83ah0qiwav0shbxkxwrz3dvw78n89jk";
  };

  nativeBuildInputs = [ autoreconfHook ];
  buildInputs = [ apfel applgrid lhapdf root5 ];

  enableParallelBuilding = true;

  meta = with lib; {
    description = "Ultra-fast theory predictions for collider observables";
    mainProgram = "apfelgrid-config";
    license     = licenses.mit;
    homepage    = "https://nhartland.github.io/APFELgrid/";
    platforms   = platforms.unix;
    maintainers = with maintainers; [ veprbl ];
  };
}