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 OKFMJVcDQ2fBBwEA62LTzQ:P1 (envelope-from ) for ; Sun, 24 Nov 2024 10:43:35 +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 OKFMJVcDQ2fBBwEA62LTzQ (envelope-from ) for ; Sun, 24 Nov 2024 11:43:35 +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=P5Ya8bAl; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=EOyyEbpJ; 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=1732445015; 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=FOTjLQrqPjyzsHMh/74r+KjqFC3d2g3JKbRC8VNW6i0=; b=qgXlWv8xHSGk6wOnpWk+kwAjuVZe4E+k6HkYax2q/BAzFlJkqegZa9+dlQbOf6jjl/aLBM O9aNfjhrtfYycVrLPUudqCS40sVlDI185mVDkqoo+0j9fo+QQLTMMY33Alq7wo49MsqJuC KW2RJzMuuW8z1hrW1z0yVxNHegg1uJrsv9ke+2RSsXhPAs5C1ME5AUBONOXsLYQaqw6552 DXl0/aIz7iZsqILfF+5HY8uJPkkkEU7AamqQeY86xwxN8hkAU1qK3jFK9FHLAVd5uchpYU 4i2jWdggTqtdazdVZNbQoCx2eEFgggo0uTon26LuxaGN1+04rhjZdi0dhcKqww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=P5Ya8bAl; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=EOyyEbpJ; 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=1732445015; a=rsa-sha256; cv=none; b=LRLB8rRH2AUjnabw6fQhzFCunpDFMRyusRnqMqJjJPSYl1LrAGK9zczrIMgJkZNI7wCezX xB95HCXBXWy7Hk6u2V53vN42UWCGTNnaoMF5HCoDt1bc5hZPzUtTak63R3CK3GtHcFO3t4 /dxwBtzq5pcWeiqPWZdPTez92ko5sShhi4m7vjYwNxYrhTkoe6Zz0+l0nPbbfOrkJDEXCL MIHLQPLWRRq5eTqd2EO8XZxs/Ucrsz/b7hKXXhQxgXUOzUFVPbnOJHw1EXx/g/QZVHN/3d R3TllOmXi+klhvByeem8PrQeYXehzd8IzhclBUhnC4CIO/dfqdvZE3scmvTd1g== 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 66F497F47B for ; Sun, 24 Nov 2024 11:43:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tF9sS-0005ic-L9; Sun, 24 Nov 2024 05:30:04 -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 1tF9sR-0005gw-8N for guix-patches@gnu.org; Sun, 24 Nov 2024 05:30:03 -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 1tF9sQ-0001Wq-V2 for guix-patches@gnu.org; Sun, 24 Nov 2024 05:30:02 -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=FOTjLQrqPjyzsHMh/74r+KjqFC3d2g3JKbRC8VNW6i0=; b=P5Ya8bAlipOw/Gyx7iU7Fv/YGtAMbd8lFcQekilXAfIs17yCECir2fitUB2fcPq8Q1ueS7of37iTDLUtmODgDN7eLN1k8NT4QAeS4AdxjGZCafu0/mQzK9vrU0pFAn67gB8ehGt2MkXPpRxO59ohbwME30oQf4Nxk52dFZEHoq8eBTMln7zkOvtc5e1Y4ThqM1c+50Z4BgONObrPZnBM1FimWTbMgNIzizJt1wTOZe/m/n/EoXfTB2O/MwsH/45sAxwlwxF60cbpKrZ2EPXoNv6S7Mp2OYilDwIaB6WzBT4RLXCi6KWmJ7hoHhsjdPOTE+SX+pJGoDD0fY0e/+dTIg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tF9sQ-0003TU-Q8 for guix-patches@gnu.org; Sun, 24 Nov 2024 05:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74495] [PATCH v2 07/16] gnu: Add go-github-com-charmbracelet-x-exp-golden. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Nov 2024 10:30:02 +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.173244415213137 (code B ref 74495); Sun, 24 Nov 2024 10:30:02 +0000 Received: (at 74495) by debbugs.gnu.org; 24 Nov 2024 10:29:12 +0000 Received: from localhost ([127.0.0.1]:32951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF9rc-0003Pi-5F for submit@debbugs.gnu.org; Sun, 24 Nov 2024 05:29:12 -0500 Received: from mail-lj1-f174.google.com ([209.85.208.174]:38358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tF9rY-0003OH-7O for 74495@debbugs.gnu.org; Sun, 24 Nov 2024 05:29:08 -0500 Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2ffb6151876so450041fa.1 for <74495@debbugs.gnu.org>; Sun, 24 Nov 2024 02:29:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732444082; x=1733048882; 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=FOTjLQrqPjyzsHMh/74r+KjqFC3d2g3JKbRC8VNW6i0=; b=EOyyEbpJxRXw19YQtvGC9ETEm8es9lzOx2j2pXQS4A1tWyWBlHHGsxJH16Ju04KHkv /xXaKuKVbC13iuEiERVVyQxEYg39X8E/Bs7sxLv/1YweBOnQ9O4s1XDvpVJxXaZo4E/w yXGwbGtXcOa9hsgX9IDPvfmBwORYIj+IZpgf4Y6i0EQwHrieWi7QW3T894UNjTVahj+X UIBgnacMgh7p4diSofh34WDxBdu1/KJ8Sgq2hM7x8k7KUmqm4me8tBJy/pIXb9q0X7BT 48PCxpLrMVnjkk4sr/drlyFvCSaKDvj1IH4IVwD1PQFivboMIaVQgKv2M6PLNeqF1wwR LgPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732444082; x=1733048882; 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=FOTjLQrqPjyzsHMh/74r+KjqFC3d2g3JKbRC8VNW6i0=; b=bKFs5z8tY1PZGOHX2oY0tg9chD0t3NIC07q6GoJIJE4xIV3WlGdYntzsTdvt8c8JDE dWM1Ed/p/6tdpPAclKZgfrUSr3MuJj/qMPkifv/JI+DM9U0MJg4DrFfgRiYO8urEGNBp iCm7+HTfDVaXI03qyshSKvJOweEYmn9JraXRuKBbFOIfqUKGrmqglw8zMxMMFcQla9iX XqD8Wp/aZhjpdnkzmXWEvAHLEO57axzB7mTZdDSPNAR0o1CvkXgdKgDFltTTKpoA5xMA jqX/WoZVs4VQAB9d/kPVOR0Fjb5+9gf3LZdtQi/e0YPwjatbDPcMxPXEGev5MiZBr1f0 +K2A== X-Gm-Message-State: AOJu0Yw4cPAQaey4bt5ZXPwT5tdyfUTczXxkXU4xCd/VSNx0l96HsLVL rszanM49qxBnEcczn048NbxPXoFwwHcmIKUb0eKgdAXN9+wZ3xuBhjYEGCBP X-Gm-Gg: ASbGncvp0fnWkNdtvA1rtLbkZn47Vxgaa3lvOSEdQtkCY/3cs6jNfCcR49O6wy/mfaK pidXInhCbgR7sj5sIWR5f1M3XQJbjch3yuX6fOXMjH1ZTrAKVB9naQs6DZNXGPPfz51MVGgqMUp WlBnwdfmMnAdqheljUGd+nz7QVYB3NpAn/SmVW+dHMdYsT2HS6emUntEf6Jb8/ZDFUpXotrA/GW FeCahlLvo3yNo/0VcCqKAkXeiAewFdG7TYfLAz90hRbTJ70swAK X-Google-Smtp-Source: AGHT+IFmx87S4mk0PiYrP69X0CONXe+QXXJcoI1gf5sjeMbBoGsaqzkL7LYIZ9JpHab09pirpUUrpg== X-Received: by 2002:a05:6512:2209:b0:53d:a9ab:2ec6 with SMTP id 2adb3069b0e04-53dd39a9f47mr1008822e87.10.1732444081453; Sun, 24 Nov 2024 02:28:01 -0800 (PST) Received: from elephant.. ([95.79.145.11]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53dd24455e6sm1262873e87.3.2024.11.24.02.27.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Nov 2024 02:28:00 -0800 (PST) From: "Artyom V. Poptsov" Date: Sun, 24 Nov 2024 13:27:28 +0300 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: 1.05 X-Spam-Score: 1.05 X-Migadu-Queue-Id: 66F497F47B X-TUID: g4QnZ3Nym9oq * gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-exp-golden): New variable. Change-Id: I7fa815433d9a83e4562bdc769312dd05e0a298da --- gnu/packages/golang-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index d4e34a19b4..61ead1981d 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -1553,6 +1553,42 @@ (define-public go-github-com-charmbracelet-x-ansi ECMA-48} specs.") (license license:expat))) +(define-public go-github-com-charmbracelet-x-exp-golden + (package + (name "go-github-com-charmbracelet-x-exp-golden") + (version "0.0.0-20241121171228-5bc00623ea2f") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/charmbracelet/x") + (commit (go-version->git-ref version + #:subdir "exp/golden")))) + (file-name (git-file-name name version)) + (sha256 + (base32 "016s67690dr3w3an6m24q6f4vrmwpk0qd4akvvh1dzpfyf4khxd4")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/charmbracelet/x/exp/golden" + #:unpack-path "github.com/charmbracelet/x/" + #:phases #~(modify-phases %standard-phases + (add-before 'check 'fix-tests + (lambda _ + (let ((dir "src/github.com/charmbracelet/x/exp/golden")) + (for-each (lambda (f) + (if (file-is-directory? f) + (chmod f #o666) + (chmod f #o644))) + (find-files dir)))))))) + (propagated-inputs (list go-github-com-aymanbagabas-go-udiff)) + (home-page "https://github.com/charmbracelet/x") + (synopsis "Verify @code{.golden} file equality") + (description "Golden files (@code{.golden}) contain the raw expected output of +tests, which can contain control codes and escape sequences. @code{golden} package +provides an API for comparing Golden files.") + (license license:expat))) + (define-public go-github-com-chzyer-logex (package (name "go-github-com-chzyer-logex") -- 2.46.0