Merge pull request #132515 from kidonng/acpica-tools

acpica-tools,iasl: 20200430 -> 20210730
This commit is contained in:
Sandro 2021-08-05 16:31:44 +02:00 committed by GitHub
commit 67df78457a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 {
pname = "iasl";
version = "20200110";
version = "20210730";
src = fetchurl {
url = "https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz";
sha256 = "1cb6aa6acrixmdzvj9vv4qs9lmlsbkd27pjlz14i1kq1x3xn0gwx";
sha256 = "1pmm977nyl3bs71ipzcl4dh30qm8x9wm2p2ml0m62rl62kai832a";
};
NIX_CFLAGS_COMPILE = "-O3";
buildFlags = [ "iasl" ];
buildInputs = [ bison flex ];
nativeBuildInputs = [ bison flex ];
installPhase =
''
install -d $out/bin
install generate/unix/bin*/iasl $out/bin
runHook preInstall
install -Dm755 generate/unix/bin*/iasl -t $out/bin
runHook postInstall
'';
meta = {

View file

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