about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/physics/apfelgrid/default.nix
blob: 5c63ce7c4b9e6b65ab21016c8646115ffac3b79c (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
{ 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 stdenv.lib; {
    description = "Ultra-fast theory predictions for collider observables";
    license     = licenses.mit;
    homepage    = "http://nhartland.github.io/APFELgrid/";
    platforms   = platforms.unix;
    maintainers = with maintainers; [ veprbl ];
  };
}