From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qATJKnsIQ2fLFQAAe85BDQ:P1 (envelope-from ) for ; Sun, 24 Nov 2024 11:05:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qATJKnsIQ2fLFQAAe85BDQ (envelope-from ) for ; Sun, 24 Nov 2024 12:05:31 +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=GKjKMfEx; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=DQogoBmK; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732446331; a=rsa-sha256; cv=none; b=spaER3Nw9wxKH7hhlb7dXir1YHwuJiJtqehSney0Yq9EyNSqu3Tf4wDcCnlISTXeZSHUcg CmbOjPvSSwflxEKK3fMD5phmS7ql2JKmmhzsu+FdUQXsqRj2nFBAuJ0mVxrR5Xhzng+4Ja neOHbvYIpXw0mgPa/+Zoq19yeibdSScjHZB5n3yr4bW+Oh707VSDb/A9mWP7YHAblLe3bU mf1V4jHJiM6H+Ebu7ns8mMo3edZuScjD+MFUXop1u0mtUCo2kHe2h61N0yql41+miOHhh/ fGmE1uZxteboJC0hkLCljEv5/t49ZFrWM7kWxcUf3j+oUeDb79jLr4NqcHt4LQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=GKjKMfEx; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=DQogoBmK; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732446331; 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=Ky3aKpZHzkiU1llzl8fvvYHWlGvOlc/5GKa1LuXaekE=; b=r1MAW/cH2I9DKYCMbuMb14uLk2MNaF3N3Yb5BiI64pA9g+5xhxnSbvc83/32yfwrGBTr94 Jt2oQgQKiGpS6ySUNQSmVrQh6TWQp1nbzisVypMpX98xaR8qPOQzDeMHi3bGqrwXHBnfbj N0DlhgJiJOlhGk2LHQx9B6qSXpCmZuIGQ4jw84lVlCgFwXiv+qttelP/Q3WfK2T+r4Yixl 4EhLghROB0IWH6/L2B6+BuDtYl0/Djh85pbuJK3jORH1zcm81C9NxTmz+B4HS382M4DnhG NwgowzijAaZVlB/bxK/noO+uoYQzUgI9Q+uTh2XeeMYdrXyQ9vtGWtnPQmMQOQ== 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 4D83D7D3A1 for ; Sun, 24 Nov 2024 12:05:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tF9sZ-0005oF-ME; Sun, 24 Nov 2024 05:30:12 -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 1tF9sU-0005kh-Fc for guix-patches@gnu.org; Sun, 24 Nov 2024 05:30: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 1tF9sU-0001e6-5n for guix-patches@gnu.org; Sun, 24 Nov 2024 05:30:06 -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=Ky3aKpZHzkiU1llzl8fvvYHWlGvOlc/5GKa1LuXaekE=; b=GKjKMfExShZgY2kxPCpBpGe7/vuSfHu0qzALb+PJQb3Xq3wT2mhMZUUn4RHu7TzhsRdc1YFZ7oI2GVLmUuBBAe2RzQ8UqzRT1YQ3dcANJ3t6Z5ifohmohoVeICgSKpRuLohtj19ypAvgoBhdYibM4d24ruvLIefi95zklVLcVjxsF2cW6ak1bNdWF0aBPAOS0ULTPokuB4HZGo6TO5HlIrEJdU2nD4zR37eC8fIfWT39fkHn/gcbslVL4xfq/l8lMVw61I1QYRGSeZ2aAwKXvM0GmggfaXb4CZ2k/EOPofjdXwOqL1FZ0owcaCMCAmCCQ7yj0kfkstVPbdmS5Ca5+g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tF9sU-0003Vh-0F for guix-patches@gnu.org; Sun, 24 Nov 2024 05:30:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74495] [PATCH v2 13/16] gnu: Add go-github-com-charmbracelet-x-term. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Nov 2024 10:30: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" Received: via spool by 74495-submit@debbugs.gnu.org id=B74495.173244416313211 (code B ref 74495); Sun, 24 Nov 2024 10:30:05 +0000 Received: (at 74495) by debbugs.gnu.org; 24 Nov 2024 10:29:23 +0000 Received: from localhost ([127.0.0.1]:32966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF9rn-0003Qv-7L for submit@debbugs.gnu.org; Sun, 24 Nov 2024 05:29:23 -0500 Received: from mail-lj1-f182.google.com ([209.85.208.182]:38478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF9rj-0003QK-Fi for 74495@debbugs.gnu.org; Sun, 24 Nov 2024 05:29:19 -0500 Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2ffc068f492so235611fa.2 for <74495@debbugs.gnu.org>; Sun, 24 Nov 2024 02:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732444098; x=1733048898; 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=Ky3aKpZHzkiU1llzl8fvvYHWlGvOlc/5GKa1LuXaekE=; b=DQogoBmKYIhOJo/nWv1ML1co2f/V71N7oXgX/LwWTLZxRKsgilZ7cJH7o0qMoyjkqu 5ej0fjPKHqH/dRWafbT8qGRxdQ1dSQuRgTNdrlmoG+A/4yzd5wcNsxFs3hQRwSeBiikZ XmmkbK/xwrSVEZtlICTsWRxyPBvBTiL/tz/wRxsooz0dgNsR+ykA7J//zSx9xnQxDutu yulZriCFwyzS0pqEA35xbNafYqDZOlVWg//phP7keCGLRNMjGTlKfkzPKxdTrhmf2O17 o6rMb9OVEFHYvaEfzY4vIMyJR5il+dRuYRBQEa4NjKAlq1N1usC5FX/KY37874FfkLrH XjiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732444098; x=1733048898; 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=Ky3aKpZHzkiU1llzl8fvvYHWlGvOlc/5GKa1LuXaekE=; b=Vve3q7h+3q6K8ALRqf86ILaQJ6D8mLeWknMaXr9nNfpBJQ/5VyRldJ3D8etPjgJEN5 qmsoAKjB2IoGrvWaZiVsBNsLFuqDHwm/52YHypB0+okl6Tnj0p9eXMkIR/YD0g4RjKX+ 46Y6Th0wrrHG1OjWdkYCvIyjmecBDOCcLLs18gIrf8puFLrEonqkapFEChJPmd9BMmuy TL/ttyQle6qBVglPBnZveWCC1btSk9lXvTusCnpO7N7TZoW44DhREOYKoAYQl7/h3pg7 XTFtVJPcD7LrS1pGn/Gk3TVeFNCHCQpLJ65i2LT5ZlTHQcEtbgD2b/Q6f9msThKwYoRl Yi1g== X-Gm-Message-State: AOJu0YwmldK5OMcGMexfpGbYT2yBZuln4Dd/qcx8Z8TNvZBXn7f0EFuE tqsQi7K6+sTDauLnoXLEUzXJXcrnb7qX+bct0+Bfc53eJueAMiAN4hNFlB/R X-Gm-Gg: ASbGncvwt9l5Vxv+HjqLhiVyaipyKVxwdJBCfVVmocl2UrdBjNEvwuj7sc+4VB01OnZ dhcmXg2e6V1zaoHP3YE+Y37ObNJxBScu18vnBMwSyK7xdm37+D6jrY0wOgQRuOTUmhYPeeBmw58 MNh2iLe6VoK7JSgNuiaGdHNSRNvUvK+gr/nCdzMkMIlPIm7u3etRAvbg4LHw/tCMSb3FiDvUm2t ONO6szLbx81rHmFfmxDnlswEK5afZ0murbBwLqUZ3fh2Akr5dLr X-Google-Smtp-Source: AGHT+IEXnI9j+vFjW0XCx7eCoemWOSTHLfAmPIteenCdxVxnbdNjOWXe1FUH+VwgCeF19zZHsS7cQA== X-Received: by 2002:a05:6512:114c:b0:53d:d3cb:deb9 with SMTP id 2adb3069b0e04-53dd3cbdf69mr1273088e87.0.1732444098271; Sun, 24 Nov 2024 02:28:18 -0800 (PST) Received: from elephant.. ([95.79.145.11]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53dd24455e6sm1262873e87.3.2024.11.24.02.28.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Nov 2024 02:28:16 -0800 (PST) From: "Artyom V. Poptsov" Date: Sun, 24 Nov 2024 13:27:34 +0300 Message-ID: <5532a4c8248acd461596e4063d671b891facbc8c.1732444026.git.poptsov.artyom@gmail.com> 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 4D83D7D3A1 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -7.79 X-Spam-Score: -7.79 X-TUID: cVY1c4OL4+In * gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-term): New variable. Change-Id: I854febc3a3010f39051ee6fbd4a159993043d41e --- 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 f362595ec8..0f5605901f 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -1618,6 +1618,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