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

27 lines
771 B
Nix

{ 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 ];
};
}