about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/development/compilers/iasl/default.nix27
-rw-r--r--pkgs/top-level/all-packages.nix4
2 files changed, 31 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/;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index a65061c93ad3..3fc042bcfb8c 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -494,6 +494,10 @@ let
     inherit fetchurl stdenv bison flex pam ssmtp;
   };
 
+  iasl = import ../development/compilers/iasl {
+    inherit fetchurl stdenv bison flex;
+  };
+
   avahi =
     let qt4Support = getConfig [ "avahi" "qt4Support" ] false;
     in