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