From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gBIFMaofQmfuPAAAqHPOHw:P1 (envelope-from ) for ; Sat, 23 Nov 2024 18:32:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id gBIFMaofQmfuPAAAqHPOHw (envelope-from ) for ; Sat, 23 Nov 2024 19:32: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=rMi33AhI; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=NasHmWju; 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=1732386730; a=rsa-sha256; cv=none; b=kB/vCEq7M9bJ0zh/co681tqP/xrGr/8claVAWAhGGlZk0lxy14JtlE+8+wcdfjNWvsLoF7 hyuL/JTtPJAhJFR719D72AqfEJ618c/fU4O0kcgNG3qBVaql2lP0H6WVlPR6VRPGLhIBfC JnN9QJA2xZHsp7SpSFN6cHFb43CrCDowHuuC+HhDEbhd9nsIK4ScKAsxL7gGE568h9m2m5 6zIg4jur//gDbvMBsHPwt0Om1F6LcYh8pI3tnt0YJwJ7HE9yRljRCOpVgmPN7QhltM5sV3 RtoS9b1fUdZ9tlslpwqiBYvyqS8fVRaXhpvD9nE+nTLCcZpqf7wSz2O+K0EvyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=rMi33AhI; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=NasHmWju; 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=1732386730; 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=mLI7187XTtrCYc4F0TpC9jHLVUIHHTq/gFJxoGFqrvw=; b=kRMIgWzaAFWO15+hq8uFDEG3ku3F8e0kVzP4wMRGO1uTSs1+intah7CEarXoolvOjb3tgL Chvoeo0gKhuHbbXp7I+8nNWbzRroXFHGaS4ht0Syvjbkzvnj/uurG1k8NUdEhAXKXOndeg bqvS29CHpmG6lTMywwVd6de8Ln0is9cZGvKXRu/85Z0sJfRJnSMeTmFl8JtLwSnN17+dgv c+j5l+jSA19iC/ghjOO43k+296vXiyXFc4RLSbaIfnGdlriVYP/xWSqoMzVAo5Xno+CsMY BC3ZQTMNRxGfaoAOkdJMo7Ms6XFmNOiKyNylva2DXOEW2ylHzpRdE5Ej5FLvQw== 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 91DF37D0D1 for ; Sat, 23 Nov 2024 19:32:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEuua-0000BL-MA; Sat, 23 Nov 2024 13:31:16 -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 1tEuuW-000086-1E for guix-patches@gnu.org; Sat, 23 Nov 2024 13:31:12 -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 1tEuuT-0006I4-OY for guix-patches@gnu.org; Sat, 23 Nov 2024 13:31:11 -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=mLI7187XTtrCYc4F0TpC9jHLVUIHHTq/gFJxoGFqrvw=; b=rMi33AhIChTrjBwMjRmbWyFqFrRNHTt1zZCo+/Jgy3fIIt/D7fgGJXKkVruur0nCFloRkj5D9Ocq+egvzR4ztfYJi5YwGz31v8TRt8MOOAeMyhq0K3qPmxL1xyGxRfIrhADOF36Z4TE/2AfEssOZeoKc+dCtLzVuFpVvAMvYhmVooPfI0YgcsqyXnllpn3ghXBodZvIAEWKIyEytbCQb3Dyy82gXy046kLFpM+Km9MVGS/YIBktZn7ye40aOOVnYp9tbt01gthOiLAnQqXgc5Z7MUZhvWNJAFhUfr9ycbGNZM7FutAXZ2Coj0ufMpKI3Zy/+hhiO3znQrUirozC2XQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEuuT-0006Ie-JJ for guix-patches@gnu.org; Sat, 23 Nov 2024 13:31:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74495] [PATCH 15/16] gnu: go-github-com-charmbracelet-bubbletea: Update to 1.2.3. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Nov 2024 18:31:09 +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.173238664724052 (code B ref 74495); Sat, 23 Nov 2024 18:31:09 +0000 Received: (at 74495) by debbugs.gnu.org; 23 Nov 2024 18:30:47 +0000 Received: from localhost ([127.0.0.1]:59082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEuu6-0006Fq-Nn for submit@debbugs.gnu.org; Sat, 23 Nov 2024 13:30:47 -0500 Received: from mail-lf1-f43.google.com ([209.85.167.43]:38123) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEuts-0006EK-5F for 74495@debbugs.gnu.org; Sat, 23 Nov 2024 13:30:32 -0500 Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-53ddb4c05d1so149842e87.0 for <74495@debbugs.gnu.org>; Sat, 23 Nov 2024 10:30:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732386566; x=1732991366; 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=mLI7187XTtrCYc4F0TpC9jHLVUIHHTq/gFJxoGFqrvw=; b=NasHmWjuMUPDSLsfd5jyy/NI4r4VfLPV9bjr3ESXAaeLiRIpqJh4PPM1xa/ntz3qGy E/fO+iVuydb1Xp4Uv6MNOV1jAM4TF0l0xsIDVcxdtuFbuy5Q4lSPFUz1/ROIBL2CiMlD Gb1cSsvTkTbGHXt/cPulJgTsZMPWXZChbWK6qIsVqgVcmnHalFqeEV/CzvLLcqTjXyuv Dd2f+1ayNFHlnRLEkGCGXJblyZvHV/Z9hFfTV11Wjxq/raMzKfxbipcvJWGkCRp42rn1 sSsEu9ux5rIG1uSmzFi3pCD/jyAHAbJAvWi/FrWc6IlHgRGReEDzpiEZAdREbqABy9E0 sxHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732386566; x=1732991366; 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=mLI7187XTtrCYc4F0TpC9jHLVUIHHTq/gFJxoGFqrvw=; b=fZhD4DvNUUsgoaVKYDDDPBe7vPUqYDwzzxlG+sGaDRRfS8TVr6q/9SeHnz9k8RUswf 5qxVjOpFJnDHk2vC8LDFxB3qln6kvqzyIay6xE3HmGPSVzo3w9At99Ev8nYSJuLRSRKG B2PlyCxW7EDR8MByfFufgWaFN9/xiojDaXlqp+J/fN3BAVpGmtfI3H7vvcxZZDt2PaPt qDjLMxU3QKLYvjFBBu70S9deOs8rCCx2fcq5lRz2kYrAx75+wQRd9oaLiWd88Ya4LPmg QCbJ9BcbDhr3bw72oX4TWuWHYzYy2ny6z13+mNokAuJRVWT0nynk/cTjVY+SrYmnSCwr i8xQ== X-Gm-Message-State: AOJu0Yy+BuWsgQldSKVhBMEJj5rugiF++fxYE5+F09oQjp5QYpPdfehJ c8p+OEPw/Bw+3h6TeV7FMEIjJfvGYbuI4/6LiyWxLMQY95tmFWdkWvCoNB4r X-Gm-Gg: ASbGncv0RJAhfGQ7whZfLpBxoZcKNHbpS1Q8Gdq+eRJicv8CGnFNdtl7BQ6uH4Hw1/n jNWbTaHJnhPkef71GbRFFjML3EdMP5J4YAyVbKi6Flh0hxiribtkcr7f1K630VaYGWZXL2+TuqU dMfWpXS9vQG3H7RhpGQq1L0pDXsQsP1x6o8d4MCsEWRM/LoSKOUxkzfL8X1y3zoRfgYi00glpPb s8kA7LA1AKVxkaZK0vxFmfl5EPqZsI30HSkkUDqEOFAAjJ3pf7f X-Google-Smtp-Source: AGHT+IGPri8vZ6nb9sNLnVNRei1bntcgyFJa2Rnfc6n0QbiPX9nXKWhhVPKNDFvvUdlQVxfanr+bsw== X-Received: by 2002:a2e:be1f:0:b0:2fb:56c1:bf with SMTP id 38308e7fff4ca-2ffa7181768mr7304111fa.7.1732386566083; Sat, 23 Nov 2024 10:29:26 -0800 (PST) Received: from elephant.. ([95.79.145.11]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ffa4d1746bsm9516121fa.12.2024.11.23.10.29.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Nov 2024 10:29:24 -0800 (PST) From: "Artyom V. Poptsov" Date: Sat, 23 Nov 2024 21:28:41 +0300 Message-ID: <955413e87a58bb79ad108f0df2da786168377d84.1732386154.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.58 X-Spam-Score: -1.58 X-Migadu-Queue-Id: 91DF37D0D1 X-Migadu-Scanner: mx10.migadu.com X-TUID: EPJl9hKj1fiR * gnu/packages/golang.scm (go-github-com-charmbracelet-bubbletea): Update to 1.2.3. [propagated-inputs]: Add go-github-com-muesli-ansi, go-github-com-muesli-cancelreader, go-github-com-charmbracelet-lipgloss, go-github-com-charmbracelet-x-term, go-github-com-charmbracelet-x-ansi, and go-golang-org-x-sync. [arguments] : Fix tests that are failing due to newer version of "go-github-com-charmbracelet-x-ansi" package. Change-Id: Ifdb3074f342b34c07c0e7ab47341b159d1eea0c2 --- gnu/packages/golang.scm | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 84b797e1ff..322bd4224a 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7030,7 +7030,7 @@ (define-public go-github-com-rivo-uniseg (define-public go-github-com-charmbracelet-bubbletea (package (name "go-github-com-charmbracelet-bubbletea") - (version "0.13.2") + (version "1.2.3") (source (origin (method git-fetch) @@ -7040,7 +7040,7 @@ (define-public go-github-com-charmbracelet-bubbletea (file-name (git-file-name name version)) (sha256 (base32 - "1105cggi5fwqx69m0vrhgwx6kaw82w4ahn58sj0a81603c4yvrk0")))) + "0ggkl29qixgin5av1mbnwfbb31kmwpczh8pgpjsx9z277fs55mph")))) (build-system go-build-system) (arguments (list @@ -7050,17 +7050,35 @@ (define-public go-github-com-charmbracelet-bubbletea (lambda* (#:key import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) (for-each delete-file-recursively - '("examples" "tutorials")))))))) + '("examples" "tutorials"))))) + (add-before 'check 'fix-tests + (lambda _ + ;; XXX: The package requires + ;; "go-github-com-charmbracelet-x-ansi" version 0.4.5; with + ;; the newer version of "ansi", some "bubbletea" screen tests + ;; fail as "ansi" 0.5.2 handles escape sequences a little bit + ;; differently. + (substitute* "src/github.com/charmbracelet/bubbletea/screen_test.go" + (("x1b\\[0K") + "x1b[K") + (("x1b\\[2;0H") + "x1b[2;H"))))))) (propagated-inputs (list go-github-com-mattn-go-isatty go-github-com-muesli-termenv go-github-com-mattn-go-runewidth + go-github-com-muesli-ansi + go-github-com-muesli-cancelreader go-github-com-muesli-reflow go-github-com-lucasb-eyer-go-colorful + go-github-com-charmbracelet-lipgloss + go-github-com-charmbracelet-x-term + go-github-com-charmbracelet-x-ansi go-github-com-containerd-console go-golang-org-x-crypto go-golang-org-x-sys go-golang-org-x-term + go-golang-org-x-sync go-github-com-mattn-go-isatty)) (home-page "https://github.com/charmbracelet/bubbletea") (synopsis "Powerful little TUI framework") -- 2.46.0