parent
a87fba9619
commit
ac9932d133
@ -1,27 +1,28 @@
|
|||||||
{stdenv, fetchurl, bison, flex}:
|
{stdenv, fetchurl, bison, flex}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "iasl-20120215";
|
name = "iasl-20130117";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.acpica.org/download/acpica-unix-20120215.tar.gz;
|
url = http://www.acpica.org/download/acpica-unix-20130117.tar.gz;
|
||||||
sha256 = "13avirbqdnp7whl6ji8ixkhzdwf1cadl5fg8ggzbxp99bx0rgd5j";
|
sha256 = "1zils7l7gnkbbl8916dlhvij1g625ryb7769zhzffn3flshfdivh";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildPhase = "
|
NIX_CFLAGS_COMPILE = "-O3";
|
||||||
cd source/compiler
|
|
||||||
make
|
|
||||||
cd ..
|
|
||||||
";
|
|
||||||
|
|
||||||
installPhase = "
|
buildFlags = "iasl";
|
||||||
install -d $out/bin
|
|
||||||
install compiler/iasl $out/bin
|
|
||||||
";
|
|
||||||
|
|
||||||
buildInputs = [ bison flex ];
|
buildInputs = [ bison flex ];
|
||||||
|
|
||||||
|
installPhase =
|
||||||
|
''
|
||||||
|
install -d $out/bin
|
||||||
|
install generate/unix/bin*/iasl $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Intel ACPI Compiler";
|
description = "Intel ACPI Compiler";
|
||||||
homepage = http://www.acpica.org/;
|
homepage = http://www.acpica.org/;
|
||||||
|
license = "iasl"; # FIXME: is this a free software license?
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user