Add ACPI, a tiny ACPI client tool for Linux
svn path=/nixpkgs/trunk/; revision=10820
This commit is contained in:
parent
44fcdff01b
commit
96d354f193
19
pkgs/os-specific/linux/acpi/default.nix
Normal file
19
pkgs/os-specific/linux/acpi/default.nix
Normal 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+";
|
||||||
|
};
|
||||||
|
}
|
@ -3654,6 +3654,10 @@ rec {
|
|||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
acpi = import ../os-specific/linux/acpi {
|
||||||
|
inherit fetchurl stdenv;
|
||||||
|
};
|
||||||
|
|
||||||
acpitool = import ../os-specific/linux/acpitool {
|
acpitool = import ../os-specific/linux/acpitool {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user