nixpkgs/pkgs/development/libraries/physics/apfelgrid/default.nix

27 lines
734 B
Nix
Raw Normal View History

2018-10-18 19:24:33 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook, apfel, applgrid, lhapdf, root5 }:
2018-09-24 18:31:04 +00:00
stdenv.mkDerivation rec {
pname = "apfelgrid";
2018-09-24 18:31:04 +00:00
version = "1.0.1";
src = fetchFromGitHub {
owner = "nhartland";
repo = "APFELgrid";
rev = "v${version}";
sha256 = "0l0cyxd00kmb5aggzwsxg83ah0qiwav0shbxkxwrz3dvw78n89jk";
};
nativeBuildInputs = [ autoreconfHook ];
2018-10-18 19:24:33 +00:00
buildInputs = [ apfel applgrid lhapdf root5 ];
2018-09-24 18:31:04 +00:00
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Ultra-fast theory predictions for collider observables";
license = licenses.mit;
homepage = "http://nhartland.github.io/APFELgrid/";
2018-09-24 18:31:04 +00:00
platforms = platforms.unix;
maintainers = with maintainers; [ veprbl ];
};
}