forked from mirrors/nixpkgs
apfel: fix build on aarch64-darwin
This commit is contained in:
parent
d96a2451b3
commit
d3e16830b2
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue