apfel: fix build on aarch64-darwin

This commit is contained in:
Weijia Wang 2022-11-01 19:43:34 +01:00 committed by Dmitry Kalinkin
parent d96a2451b3
commit d3e16830b2

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, gfortran, lhapdf, python3, zlib }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, gfortran, lhapdf, python3, zlib }:
stdenv.mkDerivation rec {
pname = "apfel";
@ -11,13 +11,16 @@ stdenv.mkDerivation rec {
sha256 = "sha256-fRdJ+C92tEC75iUwP9Tmm/EswrlA52eUo5fBjfieH9o=";
};
# needed for aarch64-darwin
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ gfortran lhapdf python3 zlib ];
enableParallelBuilding = true;
meta = with lib; {
description = "A PDF Evolution Library";
license = licenses.gpl3;
license = licenses.gpl3Plus;
homepage = "https://apfel.mi.infn.it/";
platforms = platforms.unix;
maintainers = with maintainers; [ veprbl ];