2009-01-25 14:31:42 +00:00
|
|
|
{stdenv, fetchurl, bison, flex}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-01-28 11:42:24 +00:00
|
|
|
name = "iasl-20130117";
|
|
|
|
|
2009-01-25 14:31:42 +00:00
|
|
|
src = fetchurl {
|
2013-01-28 11:42:24 +00:00
|
|
|
url = http://www.acpica.org/download/acpica-unix-20130117.tar.gz;
|
|
|
|
sha256 = "1zils7l7gnkbbl8916dlhvij1g625ryb7769zhzffn3flshfdivh";
|
2009-01-25 14:31:42 +00:00
|
|
|
};
|
|
|
|
|
2013-01-28 11:42:24 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-O3";
|
2009-01-25 14:31:42 +00:00
|
|
|
|
2013-01-28 11:42:24 +00:00
|
|
|
buildFlags = "iasl";
|
2009-01-25 14:31:42 +00:00
|
|
|
|
|
|
|
buildInputs = [ bison flex ];
|
|
|
|
|
2013-01-28 11:42:24 +00:00
|
|
|
installPhase =
|
|
|
|
''
|
|
|
|
install -d $out/bin
|
|
|
|
install generate/unix/bin*/iasl $out/bin
|
|
|
|
'';
|
|
|
|
|
2009-01-25 14:31:42 +00:00
|
|
|
meta = {
|
|
|
|
description = "Intel ACPI Compiler";
|
|
|
|
homepage = http://www.acpica.org/;
|
2014-11-06 00:44:33 +00:00
|
|
|
license = stdenv.lib.licenses.iasl;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-01-25 14:31:42 +00:00
|
|
|
};
|
|
|
|
}
|