libffi: 3.4.3 -> 3.4.4

Changes: https://github.com/libffi/libffi/releases/tag/v3.4.4

    3.4.4 Oct-23-2022
    Important aarch64 fixes, including support for linux builds
      with Link Time Optimization (-flto).
    Fix x86 stdcall stack alignment.
    Fix x86 Windows msvc assembler compatibility.
    Fix moxie and or1k small structure args.

While at it added trivial updater.
This commit is contained in:
Sergei Trofimovich 2022-10-26 08:21:54 +01:00
parent 01d2877656
commit 17865edc9a

View File

@ -5,15 +5,16 @@
# dejagnu also requires tcl which can't be built statically at the moment
, doCheck ? !(stdenv.hostPlatform.isStatic)
, dejagnu
, nix-update-script
}:
stdenv.mkDerivation rec {
pname = "libffi";
version = "3.4.3";
version = "3.4.4";
src = fetchurl {
url = "https://github.com/libffi/libffi/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-RBbdkrauj8tbEEIecRxNPLMSA9d1Iad9hdAQIxHmw7g=";
sha256 = "sha256-1mxWrSWags8qnfxAizK/XaUjcVALhHRff7i2RXEt9nY=";
};
# Note: this package is used for bootstrapping fetchurl, and thus
@ -52,6 +53,12 @@ stdenv.mkDerivation rec {
checkInputs = [ dejagnu ];
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};
meta = with lib; {
description = "A foreign function call interface library";
longDescription = ''