From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GJIIOar/yGWxhQAAqHPOHw:P1 (envelope-from ) for ; Sun, 11 Feb 2024 18:11:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GJIIOar/yGWxhQAAqHPOHw (envelope-from ) for ; Sun, 11 Feb 2024 18:11:07 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=QfNkpXcL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.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=1707671466; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=D0I9RL2VOKNXzOHUMOW3myE6O8HYQF8unk3SPLlMHyk=; b=RzkvD85VFFG4DciBaShYYASk/KOuenfzraANLNMjRX2ZPGeQ/LWNfXDl1TcYwWLoFnOt28 G7imWR+qXlgg2MtfaJgbT1/ID8qWRwz5A418bGBenm/qvF8Bgx0p9HgRROV1ssThvo08eq KamRDx2nWRAF1iRMQ3rF9qjfLtN2r3IM/+0MaaHuzylT7L0pl/IBNiUhVOUfmgMKAHsgl6 lYztQcvZW462UF3GCttFldeQbZhhBxLO9vxHqwN9/Cez/hLEuNSpuYvki8v3ZyYWKzOIsS mjmPL0fEpD3zutBo6ESeNjenV9l1xTFQ/xJkZRcvj9LICZSSr+CgXaxiXSrbJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=QfNkpXcL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.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=1707671466; a=rsa-sha256; cv=none; b=prZp2vHGKnYqjp4bNCaQxWIptxtBDILx6Va246BWSMB/tMBegssdQn2NgHNwkneS06Zkw1 pOO4iQgz8rBy3rxx4pURqpQyYIaRMHh+PVp6OpKhIRkEa+KaScyW2hLfiJxSoIWwkpyQ6h HFHqtubqUenVWbuFGu3SicP88nXgJHKywZ3LSBUxC2NDi1BW6kcOiqUE/e4+2WD5o4pEEy tvpB7fqn2z9cB+/r2rA7t2Qvcm59QO1IYb0a8xr/EsqqX6OPJK9inyQVVAmxSWI1KHk4mP VMTgecn8DLTsrqTDOvEp+3EP6lWiOBvyD872qMnPFWKtdD+43iocnGoAQQaqKw== 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 AC206211E7 for ; Sun, 11 Feb 2024 18:11:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZDLs-0006UU-0h; Sun, 11 Feb 2024 12:10:48 -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 1rZDLq-0006Tx-7E for guix-patches@gnu.org; Sun, 11 Feb 2024 12:10:46 -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 1rZDLp-0001ki-Sw for guix-patches@gnu.org; Sun, 11 Feb 2024 12:10:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZDM6-0008Dj-0q for guix-patches@gnu.org; Sun, 11 Feb 2024 12:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69043] [PATCH v2] gnu: go-github-com-charmbracelet-bubbletea: Remove examples. References: <87ttmf9tj0.fsf@troyfigiel.com> In-Reply-To: <87ttmf9tj0.fsf@troyfigiel.com> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Feb 2024 17:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69043 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69043@debbugs.gnu.org Received: via spool by 69043-submit@debbugs.gnu.org id=B69043.170767141931501 (code B ref 69043); Sun, 11 Feb 2024 17:11:01 +0000 Received: (at 69043) by debbugs.gnu.org; 11 Feb 2024 17:10:19 +0000 Received: from localhost ([127.0.0.1]:60940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZDLO-0008Bz-6O for submit@debbugs.gnu.org; Sun, 11 Feb 2024 12:10:18 -0500 Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]:58116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZDDV-0007qw-0m for 69043@debbugs.gnu.org; Sun, 11 Feb 2024 12:02:10 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4TXv5309lxz9sbq for <69043@debbugs.gnu.org>; Sun, 11 Feb 2024 18:01:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1707670903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=D0I9RL2VOKNXzOHUMOW3myE6O8HYQF8unk3SPLlMHyk=; b=QfNkpXcLM6UEcSjDMP0rsDJlQZoj9ijhpbR9YL1P80ezVd7F22qIjwIMnzmRDOEghntL1Z PXxnHeduvmBaCs5y9uepiiebAk11jgr9VAQBEq4hgbzVm7m0CdvBKgYI0KqaLjId1fZGzX WzPhoaANBt4/1NLG2UaCBiGCf+90HDRcUrxfAStillWEcqsiBzKFISGo6W40rWCZv5kt0v DGIHHIFbWiW6qUQHihMRILZUg2/5OqZcppuCieUSw8vNeLyGfvoGjaPTSfZSk9kVgsdkWI 21QyvnSDekZ9+0eio/jUAOrnKRVnh7pxfEwzw6lkfarIomoQypN3EMUroUGK5A== From: Troy Figiel Date: Sun, 11 Feb 2024 01:24:12 +0100 Message-ID: <87a5o79bpp.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Score: 2.22 X-Spam-Score: 2.22 X-Migadu-Queue-Id: AC206211E7 X-Migadu-Scanner: mx12.migadu.com X-TUID: Ecj7drtXDWAd * gnu/packages/golang.scm (go-github-com-charmbracelet-bubbletea): Remove examples and tutorials. [arguments]<#:phases>: Add remove-examples phase. --- gnu/packages/golang.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 163691a1e6..734db8ca30 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -10446,7 +10446,14 @@ (define-public go-github-com-charmbracelet-bubbletea "1105cggi5fwqx69m0vrhgwx6kaw82w4ahn58sj0a81603c4yvrk0")))) (build-system go-build-system) (arguments - `(#:import-path "github.com/charmbracelet/bubbletea")) + (list + #:import-path "github.com/charmbracelet/bubbletea" + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'remove-examples + (lambda* (#:key import-path #:allow-other-keys) + (with-directory-excursion (string-append "src/" import-path) + (for-each delete-file-recursively + '("examples" "tutorials")))))))) (propagated-inputs `(("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty) ("github.com/muesli/termenv" ,go-github-com-muesli-termenv) base-commit: 16d2be641424815a1779119bb64bc6ba1be1161b -- 2.42.0