python311Packages.fpylll: fix on aarch64-darwin

No hardware support for 80-bit floating point (long double) on
aarch64-darwin; patch upstreamed
This commit is contained in:
George Huebner 2024-03-17 21:04:42 -05:00 committed by Mauricio Collares
parent 4d7959506e
commit c4e0bff9d7
2 changed files with 12 additions and 0 deletions

View File

@ -1,5 +1,6 @@
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, pkg-config
, gettext
, autoreconfHook
@ -18,6 +19,13 @@ stdenv.mkDerivation rec {
sha256 = "sha256-taSS7jpVyjVfNe6kSuUDXMD2PgKmtG64V5MjZyQzorI=";
};
patches = [
(fetchpatch {
url = "https://github.com/fplll/fplll/commit/317cf70893eebfb2625da12e5377189908c36240.diff";
sha256 = "sha256-GbYSolBgv/he4QzjuRFdg93wHJABVHvA9x3PjpJTSRE=";
})
];
nativeBuildInputs = [
pkg-config
gettext

View File

@ -36,6 +36,10 @@ buildPythonPackage rec {
url = "https://github.com/fplll/fpylll/commit/fc432b21fa7e4b9891f5b761b3539989eb958f2b.diff";
hash = "sha256-+UidQ5xnlmjeVeVvR4J2zDzAuXP5LUPXCh4RP4o9oGA=";
})
(fetchpatch {
url = "https://github.com/fplll/fpylll/commit/cece9c9b182dc3ac2c9121549cb427ccf4c4a9fe.diff";
hash = "sha256-epJb8gorQ7gEEylZ2yZFdM9+EZ4ys9mUUUPiJ2D0VOM=";
})
];
nativeBuildInputs = [