From 386898811e2992ec0d3231e2aa265b015bb45c1d Mon Sep 17 00:00:00 2001 From: Angel J <78835633+iamanaws@users.noreply.github.com> Date: Tue, 10 Nov 2026 19:30:43 -0800 Subject: [PATCH] xtermcontrol: 3.10 -> 3.11 Assisted-by: Cursor (Grok 4.7) --- pkgs/by-name/xt/xtermcontrol/package.nix | 37 +++++++++++++++--------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/pkgs/by-name/xt/xtermcontrol/package.nix b/pkgs/by-name/xt/xtermcontrol/package.nix index 4da28c0d32a9..e63c06273cc0 100644 --- a/pkgs/by-name/xt/xtermcontrol/package.nix +++ b/pkgs/by-name/xt/xtermcontrol/package.nix @@ -1,30 +1,41 @@ { lib, stdenv, - fetchurl, + autoreconfHook, + fetchFromGitHub, }: stdenv.mkDerivation (finalAttrs: { - version = "3.10"; pname = "xtermcontrol"; + version = "3.11"; - src = fetchurl { - url = "https://thrysoee.dk/xtermcontrol/xtermcontrol-${finalAttrs.version}.tar.gz"; - sha256 = "sha256-Prl7HZ2KrhutT+LEHKOj27ENLWfmykWZqh9jGkBQPe4="; + __structuredAttrs = true; + strictDeps = true; + + src = fetchFromGitHub { + owner = "JessThrysoee"; + repo = "xtermcontrol"; + tag = finalAttrs.version; + hash = "sha256-HS99l9APrW/1l3HwoGga81kX8CPosipISXtp+OnA1vU="; }; + nativeBuildInputs = [ autoreconfHook ]; + + doCheck = true; + meta = { description = "Enables dynamic control of xterm properties"; longDescription = '' - Enables dynamic control of xterm properties. - It makes it easy to change colors, title, font and geometry of a running xterm, as well as to report the current settings of these properties. - Window manipulations de-/iconify, raise/lower, maximize/restore and reset are also supported. - To complete the feature set; xtermcontrol lets advanced users issue any xterm control sequence of their choosing. + Change colors, title, font, and geometry of a running xterm, and report + the current settings. Window manipulations such as iconify, raise, lower, + maximize, restore, and reset are supported. Advanced users can issue any + xterm control sequence. ''; - homepage = "http://thrysoee.dk/xtermcontrol"; - license = lib.licenses.gpl2; - platforms = lib.platforms.unix; - maintainers = [ ]; + homepage = "https://thrysoee.dk/xtermcontrol"; + changelog = "https://github.com/JessThrysoee/xtermcontrol/blob/${finalAttrs.version}/ChangeLog"; + license = lib.licenses.gpl2Plus; + maintainers = with lib.maintainers; [ iamanaws ]; mainProgram = "xtermcontrol"; + platforms = lib.platforms.unix; }; })