acpica-tools: 20230628 -> 20240322, build from source repo

Changes:
https://github.com/acpica/acpica/blob/G20240322/documents/changes.txt
This commit is contained in:
Thomas Gerbet 2024-04-19 23:22:39 +02:00
parent 6b2b7cdf62
commit e9e4563055

View File

@ -1,17 +1,19 @@
{ lib { lib
, stdenv , stdenv
, fetchurl , fetchFromGitHub
, bison , bison
, flex , flex
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "acpica-tools"; pname = "acpica-tools";
version = "20230628"; version = "20240322";
src = fetchurl { src = fetchFromGitHub {
url = "https://downloadmirror.intel.com/783534/acpica-unix-${version}.tar.gz"; owner = "acpica";
hash = "sha256-hodqdF49Ik3P0iLtPeRltHVZ6FgR3y25gg7wmp3/XM4="; repo = "acpica";
rev = "refs/tags/G${version}";
hash = "sha256-k5rDaRKYPwdP4SmEXlrqsA2NLZDlqXBclz1Lwmufa2M=";
}; };
nativeBuildInputs = [ bison flex ]; nativeBuildInputs = [ bison flex ];
@ -29,9 +31,6 @@ stdenv.mkDerivation rec {
env.NIX_CFLAGS_COMPILE = toString ([ env.NIX_CFLAGS_COMPILE = toString ([
"-O3" "-O3"
] ++ lib.optionals (stdenv.cc.isGNU) [
# Needed with GCC 12
"-Wno-dangling-pointer"
]); ]);
enableParallelBuilding = true; enableParallelBuilding = true;