at 23.11-beta 25 lines 763 B view raw
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "acpi"; 5 version = "1.7"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/acpiclient/${version}/${pname}-${version}.tar.gz"; 9 sha256 = "01ahldvf0gc29dmbd5zi4rrnrw2i1ajnf30sx2vyaski3jv099fp"; 10 }; 11 12 meta = with lib; { 13 description = "Show battery status and other ACPI information"; 14 longDescription = '' 15 Linux ACPI client is a small command-line 16 program that attempts to replicate the functionality of 17 the "old" `apm' command on ACPI systems. It includes 18 battery and thermal information. 19 ''; 20 homepage = "https://sourceforge.net/projects/acpiclient/"; 21 license = lib.licenses.gpl2Plus; 22 platforms = platforms.linux; 23 maintainers = [ ]; 24 }; 25}