From fb1fd1115f4a16b1cafaf69fce33068688721cba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 25 Jan 2009 14:31:42 +0000 Subject: [PATCH] Adding Intel ACPI Compiler (trying to build virtualbox) svn path=/nixpkgs/trunk/; revision=13845 --- pkgs/development/compilers/iasl/default.nix | 27 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/development/compilers/iasl/default.nix 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