nixpkgs/pkgs/development/libraries/physics/apfelgrid/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
732 B
Nix

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