From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mMgiJx0CSWfkTwEAe85BDQ:P1 (envelope-from ) for ; Thu, 28 Nov 2024 23:51:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id mMgiJx0CSWfkTwEAe85BDQ (envelope-from ) for ; Fri, 29 Nov 2024 00:51:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=UJspr7wK; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=TqvMoz6X; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732837917; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=gt77h0NmgBp5QYZ/Me/8DD8GR1emZJ9TJqTgTnWdjgA=; b=ZtY/VPk+EmQi/LBuahMNSHSFrOQ3YatrWnl4SIo+wCVtSyh8RnatgAxyp+dG3ZHkbtqiOb jQ0p8nm+KdbL333vQ43dvLbgjFWb0adl288JEhVg7vlOVnBjSjsfwLyky5DM5NSglfRHXz IzKz5K2SvA2AGawRWakau/qWRCJpyA60u7kekDe3m5kHd+rQPt2+KlyFknkjQqekbRsGJ8 6AHezMbex7NG/ACKB5RtiRcLsKqoIfIZY/9h7E4jZZzTVKy92fYtZ092UprCSNEHZlK2im 9Q19Hr2Vv3Z6l2SUFVRHKldwKTK38Sp9v0FLjUbgEmg1wfyo2HXXAwXIygLrxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=UJspr7wK; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=TqvMoz6X; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732837917; a=rsa-sha256; cv=none; b=GWhmTfOHZC3EKF8XcTv38ZvaPglAW9VU9+/f19JPclzEUN6EV3Lub3sVGZO8fiKwWLiPeH LfCJmrykAknbCOo648YTBBptaghzp64pZJKx0Ohfu/3rxV3V3Ri/xWeUVW1Y3GKpk9GfPG v7XW63hS11iZ42vUn/AUQiZN4OjqygJ/j2fYXyuUmunC4ukXsh6sPXNj4ooCwdEoNMYzeX Q2Xhqxi11nIFqQ/m691OG91juelNDGbIVVX7/3UIdddIW80Y7zerBnvKNY1aoMhxS7DOM7 CSVyOaH0SRSNEnm4hPOs8mYk9xAR7Na/QUlOMFkLsFkQpSdRkJ+hMEXAaNQ0Rg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 686388336D for ; Fri, 29 Nov 2024 00:51:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGoHz-0004Fm-0g; Thu, 28 Nov 2024 18:51:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGoHq-0004CH-1p for guix-patches@gnu.org; Thu, 28 Nov 2024 18:51:06 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tGoHp-0005KU-PV for guix-patches@gnu.org; Thu, 28 Nov 2024 18:51:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=gt77h0NmgBp5QYZ/Me/8DD8GR1emZJ9TJqTgTnWdjgA=; b=UJspr7wKNrBa0jP+WZ03ZtyxAAHPn47vUZfPaX9AJHsjAiJ27qkuGLuxB/8oii1ZLDhExdFM5QwMG39D8bd+cvn/XSE5BXjlGyzlQx9EU6P1D8g0QJhX4HCXQBJvWKUxn98AfRVnUexoW7LXFj32097XwkB0BWA5R6PTjv74e5JWjrkfMVU/yC9PDbbeu8t7TdMEchFvYXmHu2Qa+J09EB8YTxj41EhHH6iWTYNSeZPkR9bJMN/oaqn0pZG10ij9lmSrKbgIANs9+w0SuNzDRJlE8z70AElkl75KE67P+jtV3remsAjAe/ai9jvB63Xxvp45RmEZLFMNf72G7J1DrA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tGoHp-0001Au-9v for guix-patches@gnu.org; Thu, 28 Nov 2024 18:51:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74495] [PATCH 08/15] gnu: Add go-github-com-charmbracelet-x-term. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Nov 2024 23:51:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74495 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74495@debbugs.gnu.org Cc: "Artyom V. Poptsov" , Sharlatan Hellseher Received: via spool by 74495-submit@debbugs.gnu.org id=B74495.17328378484393 (code B ref 74495); Thu, 28 Nov 2024 23:51:05 +0000 Received: (at 74495) by debbugs.gnu.org; 28 Nov 2024 23:50:48 +0000 Received: from localhost ([127.0.0.1]:40205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGoHX-00018m-MW for submit@debbugs.gnu.org; Thu, 28 Nov 2024 18:50:47 -0500 Received: from mail-wm1-f41.google.com ([209.85.128.41]:56820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGoHF-00016b-Df for 74495@debbugs.gnu.org; Thu, 28 Nov 2024 18:50:29 -0500 Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-434a14d6bf4so11857625e9.1 for <74495@debbugs.gnu.org>; Thu, 28 Nov 2024 15:50:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732837764; x=1733442564; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gt77h0NmgBp5QYZ/Me/8DD8GR1emZJ9TJqTgTnWdjgA=; b=TqvMoz6XUynmOsY+nGly8s5VlJxAEhvJ1uENYuEM0NNqc0EG3jXyZwichWNyxkJVTQ vO7gi9Xo0sbCApjnqR7izLX3ptk+xoT9q1tMfJ6Q2dVcZqaPsLum6lWk2XacT64fQpeK vjtbH3sVexrlIGE4cThb+f9JeprxX7fdhTj85z3hD0BI+cGcBnPBQWQHKHT5QKfl21w4 d5orBEWbrb+FwAIf5W95lMAnZcn/rIz70IZ8xK467+H1Ygi2pi8WGtXI5xCpKAUoin/+ VlCQrzdSr5Iwn6IAHC41JKVjwLL0YkhYr1UVRLTl/v+ACM//KzVEeitxYSRBrIdImlDv /TlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732837764; x=1733442564; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gt77h0NmgBp5QYZ/Me/8DD8GR1emZJ9TJqTgTnWdjgA=; b=RQTRyoJ4FLNVWGOTqxUSBkwsPwDU3rU3djLLOM+rLDdodPD+u6B1PyYEu4ZxzlXAxw JqBYn8SiGE8x2y/iPYejHEcD/WqM5QD2JSflHFhRLetliy7rF14KBtZrb/tuJNAbdiKW kYoBlOHAjDrRMfID9nH5hjx7Ccts0h7TQ6NRE8NqZ1ltdY55upmvpaJLB5R3VOY3N2Gn ObAyAvipYSKRZP/YAV/OL3t1enaqZ+PHPwk7/IoHu0aWkkZpMp+M4ljqVu+YV2vFT45U eb2CfwbOinUvqe5Fd61uPCznmbxQ58rPUgVs0xtoSAjbY9aRdxEOX5yihnNSCs2/7acs Z+tQ== X-Gm-Message-State: AOJu0Yzr4yRnWNtxD2nFxVS+B+uYwdo808341T9il1+FwvwWBK3PBBnX XzZcdUmVzYojaAR/+SiqwmfngndMr1VoK7t1yu9iGalXJ/Lj+AoW0D+rJnGPifQ= X-Gm-Gg: ASbGnctbe/de6zCXfLYpHyc4adMZoWJGaTG7xhR3aWwDT/xPb/hQawCv7NPuPsA0zmU 0nXXAs2yABsvDUdGjTxV6X9spQEA9bc1arOSS8O6KeKkgZWW2fQgNXqX3P6b4nPajxFgs2lBJGg pIot1YRb0uRw+I5ezz84ZQhecnx6+/+ENmxhPTGOKhfp0HJffVu6JDgueKNSaKnNVwmMdh1nK+9 H3Pyj/xqo/zuKLrM3Z6br/J1Gv5f5FIhR6cNHuY/h37kzw4rAmEgqZmgq22t5ZxBpmov6JAo+8X 3K+iy7zMrJVsT3pc3d6TPAJcuH9u+DpLtfMrsSVvmQ== X-Google-Smtp-Source: AGHT+IHsiRKohybc95uxL6S4TS5lwqqqa5mM9Qv7TKzaD5OlGvlhdhuyNTdzien/UL075So2m3mZeg== X-Received: by 2002:a05:6000:2b0a:b0:382:4b2f:f755 with SMTP id ffacd0b85a97d-385c6ee25aemr5500071f8f.54.1732837763740; Thu, 28 Nov 2024 15:49:23 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434aa7e4df1sm66735195e9.39.2024.11.28.15.49.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Nov 2024 15:49:23 -0800 (PST) From: Sharlatan Hellseher Date: Thu, 28 Nov 2024 23:49:02 +0000 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 4.32 X-Spam-Score: 4.32 X-Migadu-Queue-Id: 686388336D X-TUID: SMo+tD7gfyWq From: "Artyom V. Poptsov" * gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-term): New variable. Change-Id: I854febc3a3010f39051ee6fbd4a159993043d41e Reviewed-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 81fd07f402..81dc15ae5d 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -1589,6 +1589,39 @@ (define-public go-github-com-charmbracelet-x-ansi ECMA-48} specs.") (license license:expat))) +(define-public go-github-com-charmbracelet-x-term + (package + (name "go-github-com-charmbracelet-x-term") + (version "0.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/charmbracelet/x") + (commit (go-version->git-ref version + #:subdir "term")))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1shw55110fnn4xz80wmgr18czmiil6z1j064m90iw8c7j9llfzn5")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/charmbracelet/x/term" + #:unpack-path "github.com/charmbracelet/x")) + (propagated-inputs (list go-github-com-rivo-uniseg + go-golang-org-x-sys)) + (home-page "https://github.com/charmbracelet/x") + (synopsis "Terminal utilities and helpers") + (description + "@code{term} provides an API for working with terminals that includes: +@itemize +@item Switching a terminal to the raw mode. +@item Getting, setting and restoring the state of a terminal. +@item Getting size of a terminal. +@item Reading passwords from a terminal without a local echo. +@end itemize") + (license license:expat))) + (define-public go-github-com-charmbracelet-x-exp-golden (package (name "go-github-com-charmbracelet-x-exp-golden") -- 2.46.0