2010-07-28 11:55:54 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2008-02-21 20:13:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-01-14 10:34:19 +00:00
|
|
|
name = "acpi-${version}";
|
2013-11-20 18:46:07 +00:00
|
|
|
version = "1.7";
|
2013-01-14 10:34:19 +00:00
|
|
|
|
2008-02-21 20:13:36 +00:00
|
|
|
src = fetchurl {
|
2013-01-14 11:00:32 +00:00
|
|
|
url = "mirror://sourceforge/acpiclient/${version}/${name}.tar.gz";
|
2013-11-20 18:46:07 +00:00
|
|
|
sha256 = "01ahldvf0gc29dmbd5zi4rrnrw2i1ajnf30sx2vyaski3jv099fp";
|
2008-02-21 20:13:36 +00:00
|
|
|
};
|
|
|
|
|
2014-01-28 17:11:00 +00:00
|
|
|
meta = with stdenv.lib; {
|
2013-10-05 14:22:46 +00:00
|
|
|
description = "Show battery status and other ACPI information";
|
2009-03-03 13:27:40 +00:00
|
|
|
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.
|
|
|
|
'';
|
2013-01-14 10:34:19 +00:00
|
|
|
homepage = http://sourceforge.net/projects/acpiclient/;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2014-01-28 17:11:00 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = maintainers.mornfall;
|
2008-02-21 20:13:36 +00:00
|
|
|
};
|
|
|
|
}
|