Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 26 lines 789 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 mainProgram = "acpi"; 15 longDescription = '' 16 Linux ACPI client is a small command-line 17 program that attempts to replicate the functionality of 18 the "old" `apm' command on ACPI systems. It includes 19 battery and thermal information. 20 ''; 21 homepage = "https://sourceforge.net/projects/acpiclient/"; 22 license = lib.licenses.gpl2Plus; 23 platforms = platforms.linux; 24 maintainers = [ ]; 25 }; 26}