summary refs log tree commit diff
path: root/pkgs/development/compilers/iasl/default.nix
blob: 085c599b969257219c48833ee8a848fcc64d2a7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{stdenv, fetchurl, bison, flex}:

stdenv.mkDerivation {
  name = "iasl-20120215";
  src = fetchurl {
    url = http://www.acpica.org/download/acpica-unix-20120215.tar.gz;
    sha256 = "13avirbqdnp7whl6ji8ixkhzdwf1cadl5fg8ggzbxp99bx0rgd5j";
  };

  buildPhase = "
    cd source/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/;
  };
}