2009-01-25 14:31:42 +00:00
|
|
|
{stdenv, fetchurl, bison, flex}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-03-14 00:53:52 +00:00
|
|
|
name = "iasl-20120215";
|
2009-01-25 14:31:42 +00:00
|
|
|
src = fetchurl {
|
2012-03-14 00:53:52 +00:00
|
|
|
url = http://www.acpica.org/download/acpica-unix-20120215.tar.gz;
|
|
|
|
sha256 = "13avirbqdnp7whl6ji8ixkhzdwf1cadl5fg8ggzbxp99bx0rgd5j";
|
2009-01-25 14:31:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildPhase = "
|
2012-03-14 00:53:52 +00:00
|
|
|
cd source/compiler
|
2009-01-25 14:31:42 +00:00
|
|
|
make
|
|
|
|
cd ..
|
|
|
|
";
|
|
|
|
|
|
|
|
installPhase = "
|
|
|
|
install -d $out/bin
|
|
|
|
install compiler/iasl $out/bin
|
|
|
|
";
|
|
|
|
|
|
|
|
buildInputs = [ bison flex ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Intel ACPI Compiler";
|
|
|
|
homepage = http://www.acpica.org/;
|
|
|
|
};
|
|
|
|
}
|