summary refs log tree commit diff
path: root/pkgs/os-specific/linux/acpi/default.nix
blob: 6bb44d7db449dd124097921ebe013377eeadc646 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  name = "acpi-${version}";
  version = "1.6";

  src = fetchurl {
    url = "mirror://sourceforge/acpiclient/${version}/${name}.tar.gz";
    sha256 = "0cawznhkzb51yxa599d1xkw05nklmjrrmd79vmjkkzf4002d4qgd";
  };

  meta = {
    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+";
  };
}