depot/third_party/nixpkgs/pkgs/os-specific/linux/acpi/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
772 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "acpi";
version = "1.7";
src = fetchurl {
url = "mirror://sourceforge/acpiclient/${version}/${pname}-${version}.tar.gz";
sha256 = "01ahldvf0gc29dmbd5zi4rrnrw2i1ajnf30sx2vyaski3jv099fp";
};
meta = with stdenv.lib; {
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 = "https://sourceforge.net/projects/acpiclient/";
license = stdenv.lib.licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ ];
};
}