nixpkgs/pkgs/os-specific/linux/acpi/default.nix

26 lines
763 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "acpi";
2013-11-20 18:46:07 +00:00
version = "1.7";
src = fetchurl {
url = "mirror://sourceforge/acpiclient/${version}/${pname}-${version}.tar.gz";
2013-11-20 18:46:07 +00:00
sha256 = "01ahldvf0gc29dmbd5zi4rrnrw2i1ajnf30sx2vyaski3jv099fp";
};
meta = with 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/";
2021-01-15 14:45:37 +00:00
license = lib.licenses.gpl2Plus;
2014-01-28 17:11:00 +00:00
platforms = platforms.linux;
maintainers = [ ];
};
}