Add ACPI, a tiny ACPI client tool for Linux

svn path=/nixpkgs/trunk/; revision=10820
This commit is contained in:
Ludovic Courtès 2008-02-21 20:13:36 +00:00
parent 44fcdff01b
commit 96d354f193
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,19 @@
args: with args;
stdenv.mkDerivation rec {
name = "acpi-0.09";
src = fetchurl {
url = "http://grahame.angrygoats.net/source/acpi/${name}.tar.gz";
sha256 = "11iwzbm3gcn9ljvxl4cjj9fc1n135hx45rhrsprnnkqppndf3vn1";
};
meta = {
description = ''Linux ACPI client is a small command-line
program that attempts to replicate the functionality of
the "old" `apm' command on ACPI systems. It includes
battery and thermal information.'';
homepage = http://grahame.angrygoats.net/acpi.shtml;
license = "GPLv2+";
};
}

View File

@ -3654,6 +3654,10 @@ rec {
};
*/
acpi = import ../os-specific/linux/acpi {
inherit fetchurl stdenv;
};
acpitool = import ../os-specific/linux/acpitool {
inherit fetchurl stdenv;
};