2010-07-28 12:55:54 +01: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 15:22:46 +01: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.
|
|
|
|
'';
|
2017-08-02 22:50:51 +01:00
|
|
|
homepage = https://sourceforge.net/projects/acpiclient/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2014-01-28 17:11:00 +00:00
|
|
|
platforms = platforms.linux;
|
2014-09-13 12:51:39 +01:00
|
|
|
maintainers = [ maintainers.mornfall ];
|
2008-02-21 20:13:36 +00:00
|
|
|
};
|
|
|
|
}
|