acpica-tools,iasl: 20200430 -> 20210730

This commit is contained in:
Kid 2021-08-03 07:59:11 +00:00 committed by GitHub
parent 6e4cda261b
commit 171da17e83
2 changed files with 14 additions and 10 deletions

View File

@ -1,24 +1,27 @@
{lib, stdenv, fetchurl, fetchpatch, bison, flex}: {lib, stdenv, fetchurl, bison, flex}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "iasl"; pname = "iasl";
version = "20200110"; version = "20210730";
src = fetchurl { src = fetchurl {
url = "https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz"; url = "https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz";
sha256 = "1cb6aa6acrixmdzvj9vv4qs9lmlsbkd27pjlz14i1kq1x3xn0gwx"; sha256 = "1pmm977nyl3bs71ipzcl4dh30qm8x9wm2p2ml0m62rl62kai832a";
}; };
NIX_CFLAGS_COMPILE = "-O3"; NIX_CFLAGS_COMPILE = "-O3";
buildFlags = [ "iasl" ]; buildFlags = [ "iasl" ];
buildInputs = [ bison flex ]; nativeBuildInputs = [ bison flex ];
installPhase = installPhase =
'' ''
install -d $out/bin runHook preInstall
install generate/unix/bin*/iasl $out/bin
install -Dm755 generate/unix/bin*/iasl -t $out/bin
runHook postInstall
''; '';
meta = { meta = {

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "acpica-tools"; pname = "acpica-tools";
version = "20200430"; version = "20210730";
src = fetchurl { src = fetchurl {
url = "https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz"; url = "https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz";
sha256 = "0z19bniqsa8y0n1qrxmb6gz7m63jpwx22zgk5ablyriixhfpz07v"; sha256 = "1pmm977nyl3bs71ipzcl4dh30qm8x9wm2p2ml0m62rl62kai832a";
}; };
NIX_CFLAGS_COMPILE = "-O3"; NIX_CFLAGS_COMPILE = "-O3";
@ -16,9 +16,10 @@ stdenv.mkDerivation rec {
buildFlags = [ buildFlags = [
"acpibin" "acpibin"
"acpidump" "acpidump"
"acpiexamples"
"acpiexec" "acpiexec"
"acpihelp" "acpihelp"
"acpinames" "acpisrc"
"acpixtract" "acpixtract"
]; ];
@ -29,7 +30,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "ACPICA Tools"; description = "ACPICA Tools";
homepage = "https://www.acpica.org/"; homepage = "https://www.acpica.org/";
license = with licenses; [ gpl2 bsd3 ]; license = with licenses; [ iasl gpl2Only bsd3 ];
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ tadfisher ]; maintainers = with maintainers; [ tadfisher ];
}; };