nixpkgs/pkgs/os-specific/linux/acpi/default.nix
William A. Kennington III 07b7c179bc Update acpi from 1.6 -> 1.7
2013-11-27 23:15:37 -06:00

24 lines
674 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "acpi-${version}";
version = "1.7";
src = fetchurl {
url = "mirror://sourceforge/acpiclient/${version}/${name}.tar.gz";
sha256 = "01ahldvf0gc29dmbd5zi4rrnrw2i1ajnf30sx2vyaski3jv099fp";
};
meta = {
description = "Show battery status and other ACPI information";
longDescription = ''
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://sourceforge.net/projects/acpiclient/;
license = "GPLv2+";
};
}