From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 aLOoDs4PTGd//AAA62LTzQ:P1 (envelope-from ) for ; Sun, 01 Dec 2024 07:27:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id aLOoDs4PTGd//AAA62LTzQ (envelope-from ) for ; Sun, 01 Dec 2024 08:27:10 +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=N3RdQXO8; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=WJLrhXeZ; 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=1733038030; 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=BHfUecoaBZU37io3A3YjaNm+hdHaPp9SgVpYD+q5wbg=; b=J9sb/mFm0nK/NfNOAfihNitdHh71vvXQSHFpFfLZ3UG6KzZJU+viJ8KmEp5X55q/XMWuVP Atn/yEH1L/QWJKLPdpo2amZMDZPzC468JHHDhS/ar0AiZf9IG5LC/ECAQ10aWUt/t0XV3P 7IKhIoJy3SJiL7w+ClNNowZ3fOrUsiPPjhGxAhHlQWQZC64FVcQHl0ycuYc06BMADSd+uV OXX22mGJq7se4h3IClld4vWZqtmUEVk59SG2EW1b1p1RH0JvA6jCfMLqhM+YTP7PQVKlXU yUD3MDhnVerDY3oPUHgLW+3aYdd3Dfj2cRixxDQopMEYav6nnK6ITq2pyTMbhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=N3RdQXO8; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=WJLrhXeZ; 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=1733038030; a=rsa-sha256; cv=none; b=LcWSzD7o9ZJlVjqf1ThjNlOb3Euj9kRabh1qgOXzOljmG06Z7ZE2W1mhIBve8KSxzkhmDY 1/Vn+XMUcDja3JDG3gHz8NDp6osAivJ8XH1aLwRl2OB/vY75TmOcQ3TFCa78G/eU4MD5lJ qzpjYpr5TZab3a1+nK3NCOY2/mW9GmVRaptCEZFXMQpKGEEr/bktyOYbbVAaoWJ2HTZhla 6WIDliqVOhrJOi5K4YNd94dDjHfaF7L5XRycKOHlnTSP1cGECcvSQVyOnmh44UmZLrooN2 3qkui7sXxIbG390zgg0wszLsCDnwUr1UhrXm199VIz4KEqKw7Dv/y6UyHyw0Sw== 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 019BE88B01 for ; Sun, 01 Dec 2024 08:27:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHeLN-0001b0-5P; Sun, 01 Dec 2024 02:26:13 -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 1tHeLH-0001W4-5o for guix-patches@gnu.org; Sun, 01 Dec 2024 02:26:07 -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 1tHeLF-0007Ow-MM for guix-patches@gnu.org; Sun, 01 Dec 2024 02:26: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=BHfUecoaBZU37io3A3YjaNm+hdHaPp9SgVpYD+q5wbg=; b=N3RdQXO8RuQ/kLdutDfAYjDbrw78XHeSzT2QMQqfDxPLzn4H6hw7Btbqc8qE9qExaaSG5OPWSixEsMl8Iy4n8CCFAPVr3Wrhj3Q5vIXiayZsvTMo6AOULf0ZBPEfrbvuawv6PPukzhM8RP6CAgTpozlKFsXckFyLJuMKSQQ3qBurDOq8K7D8fBtpYXX4Dw0JCTSW8qMSHpmWpHxs8UlOU230xfzBUIkM+1cecTewqDr1oMOzbKbxQbnBD7Lx8WDYtLtNZ47a6frM3wkU4jlFqL0biWuTf4hbhXqTfOTOj/JVrSYHmPgr7FV95ANo0lWWR73ovK4TGhLGeMDywMZKPA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHeLF-0007nu-I0 for guix-patches@gnu.org; Sun, 01 Dec 2024 02:26:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74495] [PATCH v3 08/15] 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, 01 Dec 2024 07:26: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.173303792029767 (code B ref 74495); Sun, 01 Dec 2024 07:26:05 +0000 Received: (at 74495) by debbugs.gnu.org; 1 Dec 2024 07:25:20 +0000 Received: from localhost ([127.0.0.1]:50042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHeKW-0007k3-5J for submit@debbugs.gnu.org; Sun, 01 Dec 2024 02:25:20 -0500 Received: from mail-lf1-f48.google.com ([209.85.167.48]:40384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHeKV-0007jh-7D for 74495@debbugs.gnu.org; Sun, 01 Dec 2024 02:25:19 -0500 Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-53ddb4f8450so459272e87.1 for <74495@debbugs.gnu.org>; Sat, 30 Nov 2024 23:25:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733037858; x=1733642658; 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=BHfUecoaBZU37io3A3YjaNm+hdHaPp9SgVpYD+q5wbg=; b=WJLrhXeZWHRjancDrIn/Ad4SJ2ZGgl6qQRt9AbnTxXZp7zgxII/CDySHXKoZ37265f 72ykTG+TfkQzu9J3z5cUtwOXGOkV3KpRTgb98Pt3srEPh4Sa/zLrNZ86migkQx0Ewgxn NOB6sF1ZzhNu6t7lFUoA8egss2Yzfar+2VEGvkrBtvg6AnmGnXaVFqZMVDZ8vyCGj01q JbS0na/5SW7QI5ailIrbmIkTjAZGhT5DiJU5OURU/+qvpSST4BJtzQVQvAs9Il+sNGJH /aqARZXV6+0iS7wZZbInrSUUscfIXr80nfYNnyPSgA10ESO/R4tEM6DScrQbpAqpj5+w s+3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733037858; x=1733642658; 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=BHfUecoaBZU37io3A3YjaNm+hdHaPp9SgVpYD+q5wbg=; b=ucalZtPzRGubsuUMsi4STtmcliWzdQLBcKFPozXdu6QC89CESBMQq6jaiRVb6/0rme 62UvQJzDP1PqL1tOKRboWjnVboqWwjiTn2G0kK4zmxq0NThdAWJ+NvFDGqkMTKAoo+pu tqxM7WEgV/2V3ik0r2TpW0+qW2zGcNaGkvqCUz3XfnxIpnmkJFeSo21APL9QEQkeS1MA 1JrIUaR2NZ69rcnl8z1Zgy6lulT2XRtq0HPkZ2fyCp+LPAr7RA4bP+1cyw8TSG3D5xKB uy6fEoND3l6P11yolWIzFGtzZVnu20To3bHiHptVIuhTpV8RiCfijxsO8aJ6c8y45xWQ G+gA== X-Gm-Message-State: AOJu0Yy+atTD73gYQJmw3w/AaUvcGdbxiTwHeP3aUr706XtpF8lp7BHH QCkGrHx16VaulD/pxaLXLK70iv876ueO25nnLyxrGy5Qy5b7uuhvRMmynrAq X-Gm-Gg: ASbGncvOGB8VBpFUWGAE4iwyMMReIumHJzmugU9OFayUnRbiGQ9hA7F4i3JLzMZK12g X0mw42oSWy/g6Q+5UpV47SKtrJer1/34rYa10+f/0VdplU9z/q5GkeQfR9a9tFOrPJdUnEK2HxM 0wXGbU8usbqq4rqoUmEib7QpFNX5DmWe5W+mwrt5PyYZiZ0cBuVxwNaZ97URucXrGVydkpUmH9b E+PUqpdsNYhaIoR9U8ZOFJ79BhoeXjsnkxejxdOdvpB+CMfz96F X-Google-Smtp-Source: AGHT+IFIjvR6Yk04lbg+r25wij1E9mTZtyKb0pY9NmU5ARaNxsoKFzCG/FJBsVKoDZADTGqRuR4zFA== X-Received: by 2002:a05:651c:210f:b0:2ff:afef:3ed5 with SMTP id 38308e7fff4ca-2ffd60c6fccmr20155091fa.8.1733037858042; Sat, 30 Nov 2024 23:24:18 -0800 (PST) Received: from elephant.. ([95.79.11.131]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ffdfc74f88sm8579651fa.72.2024.11.30.23.24.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Nov 2024 23:24:16 -0800 (PST) From: "Artyom V. Poptsov" Date: Sun, 1 Dec 2024 10:23:44 +0300 Message-ID: <788f456c6355ea3e5bb36c222c9db876f1e202b5.1733037809.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <70fd8cbea4aa384418b66083166f78acc2774182.1733037809.git.poptsov.artyom@gmail.com> References: <70fd8cbea4aa384418b66083166f78acc2774182.1733037809.git.poptsov.artyom@gmail.com> 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: 2.29 X-Spam-Score: 2.29 X-Migadu-Queue-Id: 019BE88B01 X-TUID: vdN2A7Oi2G0f * 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 3002144ffd..89c06156a2 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -1612,6 +1612,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