about summary refs log tree commit diff
path: root/pkgs/development/compilers/iasl
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/iasl')
-rw-r--r--pkgs/development/compilers/iasl/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/compilers/iasl/default.nix b/pkgs/development/compilers/iasl/default.nix
new file mode 100644
index 000000000000..383b8183cc71
--- /dev/null
+++ b/pkgs/development/compilers/iasl/default.nix
@@ -0,0 +1,27 @@
+{stdenv, fetchurl, bison, flex}:
+
+stdenv.mkDerivation {
+  name = "iasl-20090123.tar.gz";
+  src = fetchurl {
+    url = http://www.acpica.org/download/acpica-unix-20090123.tar.gz;
+    md5 = "4ca6484acbf16cf67fd4ba91d32fd0a0";
+  };
+
+  buildPhase = "
+    cd compiler
+    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/;
+  };
+}