From unknown Thu Jun 19 14:27:53 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61397] [PATCH] gnu: hyfetch: Update to 1.4.6. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Feb 2023 06:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61397 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61397@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167601019024511 (code B ref -1); Fri, 10 Feb 2023 06:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Feb 2023 06:23:10 +0000 Received: from localhost ([127.0.0.1]:34164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQMoP-0006NH-O4 for submit@debbugs.gnu.org; Fri, 10 Feb 2023 01:23:10 -0500 Received: from lists.gnu.org ([209.51.188.17]:34804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQMoO-0006NA-3L for submit@debbugs.gnu.org; Fri, 10 Feb 2023 01:23:08 -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 1pQMoN-0002s6-OV for guix-patches@gnu.org; Fri, 10 Feb 2023 01:23:07 -0500 Received: from mail.boiledscript.com ([144.168.59.46]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQMoM-0005kK-2Z for guix-patches@gnu.org; Fri, 10 Feb 2023 01:23:07 -0500 Date: Fri, 10 Feb 2023 14:22:20 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1676010183; 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=NSFyLCJnjh3DklaoTkIQx7YHzRQiULoffFwaoRK/Eq0=; b=kO/vcJoMpSE5zdvf++ccitWj1qCWJTTMWyuukb+MMV89s5xZQtfr3Q95QKV4JRz15ibkuM 3LUyfAohAJeyVSxleo5d52dxDVF3NOH5SIg1f98chgRo+D6wel2RydTxDhYAiS6eZpl0Yr H1mIffauUy86ajJTCBxtiXus+paRgbTeJCJetOAcc9usKuIgwJ9uaE99d9XaUq8kJaz3l/ VfgsdnqTdHvv7/y0LigbL5Y8FPv+wCugHKDxtFqIpWjp34XX9Zl06T9ufqlkgzuijPlgHw tQXdwXmhnkUBX3paWnO9TFTY7/hsj7YuCrStBu/FR4wAsDWkHz5hetpJT2q7vg== Message-ID: <874jru11lv.wl-hako@ultrarare.space> From: Hilton Chain MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-Spamd-Bar: / Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/admin.scm (hyfetch): Update to 1.4.6. [inputs]: Remove python-hypy-utils. [arguments]<#:tests?>: Disable tests. <#:phases>: Remove set-HOME phase. Replace install phase to one w/o byte-compilation. --- gnu/packages/admin.scm | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 9a82740eb6..8d06b5379e 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -3922,19 +3922,29 @@ (define-public neofetch (define-public hyfetch (package (name "hyfetch") - (version "1.4.4") + (version "1.4.6") (source (origin (method url-fetch) (uri (pypi-uri "HyFetch" version)) (sha256 - (base32 "1k3pcl16y2czkk7wd79yk0w1kqpi4fp8h8szhjs5ywwy20nqmms8")))) + (base32 "1vpknh08vhwyvjg7p8id3hvlq1yv7yjw8xxgjf0rmx3b1k2mpww1")))) (build-system python-build-system) - (inputs (list python-hypy-utils python-typing-extensions)) - (arguments `(#:phases (modify-phases %standard-phases - (add-before 'build 'set-HOME - (lambda _ ;; Tries to set files in .config - (setenv "HOME" "/tmp")))))) + (inputs (list python-typing-extensions)) + (arguments + (list #:tests? #f ;FIXME: `SyntaxError: invalid syntax` in some logos. + #:phases + #~(modify-phases %standard-phases + ;; Copied from the original install phase, w/o byte-compiling. + ;; Since the same error in test occurs with that. + (replace 'install + (lambda _ + (let ((params (list (string-append "--prefix=" #$output) + "--no-compile" + "--single-version-externally-managed" + "--root=/"))) + ((@@ (guix build python-build-system) + call-setuppy) "install" params #t))))))) (home-page "https://github.com/hykilpikonna/HyFetch") (synopsis "@code{neofetch} with pride flags <3") (description "HyFetch is a command-line system information tool fork of base-commit: b8f6ead5faac3c1b9a8fa6e060c00cf0917e884e -- 2.39.1 From unknown Thu Jun 19 14:27:53 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61397] [PATCH] gnu: hyfetch: Update to 1.4.6. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Feb 2023 18:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61397 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hilton Chain , 61397@debbugs.gnu.org Received: via spool by 61397-submit@debbugs.gnu.org id=B61397.167605227912804 (code B ref 61397); Fri, 10 Feb 2023 18:05:02 +0000 Received: (at 61397) by debbugs.gnu.org; 10 Feb 2023 18:04:39 +0000 Received: from localhost ([127.0.0.1]:38070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQXlG-0003KS-Pz for submit@debbugs.gnu.org; Fri, 10 Feb 2023 13:04:39 -0500 Received: from mail-ej1-f67.google.com ([209.85.218.67]:36703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQXlD-0003KB-8E for 61397@debbugs.gnu.org; Fri, 10 Feb 2023 13:04:37 -0500 Received: by mail-ej1-f67.google.com with SMTP id lu11so18072589ejb.3 for <61397@debbugs.gnu.org>; Fri, 10 Feb 2023 10:04:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=63+xt/wzadVvJ1MoliUMk+U91p/DzS426JONp/ez4tM=; b=eXkGw8KYwMO/QbFGzH6vMwcClL1RHa/baegdCdnOtFo1XnrNsSxXuUh3kg8fQ8g9u9 yFmTAFPuSG1ltb33BmDMow5kryKC3qMAkvVCc2sH/I8mwLkAAXI+cOS9kDlemrJ/Y2zV CEmHP1j1hPdUDPyY/BMPmmq5Qn3/JfO5JjKnvQOT031qPXbEM/pMREA3Fo/xMUsAf8Vr lOluIgFcpn/tKD/5BMPElY0+qE4ucLMIfF0U8iVCuTZKcKEwyqgeabcF3NwplhiKoUqo 9UrzUotjMaK8+mQ2x+QwRVoGBzUzbry6JcACRj50A6fgXCtfz6z9Rwqhfy7vWsyvT8HN U2AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=63+xt/wzadVvJ1MoliUMk+U91p/DzS426JONp/ez4tM=; b=jANI8wqVzj2RI1lSjAL3RLtze3EdCBrkDgqilJ/sxYYppeov/5Z0B5CxxzB586Bemv VkQygQd0cHZUgAhxWtG0HPvKW/1vnkTmhMsAA7hmuWlaa2RKZMuM6Wf6FOgN8UUp+/bM t25LEoQuzGqQs533EWctA5QquEh9pBIn0GZx17w/Ag5YjhlDTMzP0FiWosDxXgR0Ne8d ru8JA4RqsnpZGVOOcFn9OvxqPUMhSrc/U8cQI+ezLfMvzTGP6WQfcVvwOX4dXOcAhQaN SBWN/SeQZw+CpsIUwtoW9oirSFvQ8QtyQb6HLfV36yUiqy8EZdfv/aVIEuZeZo5BfFnK 8JYA== X-Gm-Message-State: AO0yUKXz2rZDmfYU3GI9inbCguat4mHZRWYL6o3rM1pJf5UqiN3hEUmg /nJE+XQJsVgyG9kCFPmW8fVm2MmYIYgZ5Q== X-Google-Smtp-Source: AK7set/Q4Oi361MUMY6K3IA0bMlcLqKfKuTL90sFKPdFwLxcFpNB2iCQBh3b8HO2LPVqc4Peu1urhg== X-Received: by 2002:a17:906:6405:b0:88f:9445:f8df with SMTP id d5-20020a170906640500b0088f9445f8dfmr15709463ejm.21.1676052269737; Fri, 10 Feb 2023 10:04:29 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id qw14-20020a170906fcae00b008af1f1bee79sm2672926ejb.9.2023.02.10.10.04.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Feb 2023 10:04:29 -0800 (PST) Message-ID: <6768fcaeaf0e16053fcdcd696ec8d410c29bd946.camel@gmail.com> From: Liliana Marie Prikler Date: Fri, 10 Feb 2023 19:04:28 +0100 In-Reply-To: <874jru11lv.wl-hako@ultrarare.space> References: <874jru11lv.wl-hako@ultrarare.space> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.46.0 MIME-Version: 1.0 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Am Freitag, dem 10.02.2023 um 14:22 +0800 schrieb Hilton Chain: > > * gnu/packages/admin.scm (hyfetch): Update to 1.4.6. > [inputs]: Remove python-hypy-utils. > [arguments]<#:tests?>: Disable tests. > [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.218.67 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.67 listed in wl.mailspike.net] 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.218.67 listed in bl.score.senderscore.com] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) QW0gRnJlaXRhZywgZGVtIDEwLjAyLjIwMjMgdW0gMTQ6MjIgKzA4MDAgc2NocmllYiBIaWx0b24g Q2hhaW46Cj4gCj4gKiBnbnUvcGFja2FnZXMvYWRtaW4uc2NtIChoeWZldGNoKTogVXBkYXRlIHRv IDEuNC42Lgo+IFtpbnB1dHNdOiBSZW1vdmUgcHl0aG9uLWh5cHktdXRpbHMuCj4gW2FyZ3VtZW50 c108Izp0ZXN0cz8+OiBEaXNhYmxlIHRlc3RzLgo+IDwjOnBoYXNlcz46IFJlbW92ZSBzZXQtSE9N RSBwaGFzZS4KPiBSZXBsYWNlIGluc3RhbGwgcGhhc2UgdG8gb25lIHcvbyBieXRlLWNvbXBpbGF0 aW9uLgo+IC0tLQo+IMKgZ251L3BhY2thZ2VzL2FkbWluLnNjbSB8IDI0ICsrKysrKysrKysrKysr KysrLS0tLS0tLQo+IMKgMSBmaWxlIGNoYW5nZWQsIDE3IGluc2VydGlvbnMoKyksIDcgZGVsZXRp b25zKC0pCj4gCj4gZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy9hZG1pbi5zY20gYi9nbnUvcGFj a2FnZXMvYWRtaW4uc2NtCj4gaW5kZXggOWE4Mjc0MGViNi4uOGQwNmI1Mzc5ZSAxMDA2NDQKPiAt LS0gYS9nbnUvcGFja2FnZXMvYWRtaW4uc2NtCj4gKysrIGIvZ251L3BhY2thZ2VzL2FkbWluLnNj bQo+IEBAIC0zOTIyLDE5ICszOTIyLDI5IEBAIChkZWZpbmUtcHVibGljIG5lb2ZldGNoCj4gwqAo ZGVmaW5lLXB1YmxpYyBoeWZldGNoCj4gwqDCoCAocGFja2FnZQo+IMKgwqDCoMKgIChuYW1lICJo eWZldGNoIikKPiAtwqDCoMKgICh2ZXJzaW9uICIxLjQuNCIpCj4gK8KgwqDCoCAodmVyc2lvbiAi MS40LjYiKQo+IMKgwqDCoMKgIChzb3VyY2UKPiDCoMKgwqDCoMKgwqAgKG9yaWdpbgo+IMKgwqDC oMKgwqDCoMKgwqAgKG1ldGhvZCB1cmwtZmV0Y2gpCj4gwqDCoMKgwqDCoMKgwqDCoCAodXJpIChw eXBpLXVyaSAiSHlGZXRjaCIgdmVyc2lvbikpCj4gwqDCoMKgwqDCoMKgwqDCoCAoc2hhMjU2Cj4g LcKgwqDCoMKgwqDCoMKgwqDCoCAoYmFzZTMyCj4gIjFrM3BjbDE2eTJjemtrN3dkNzl5azB3MWtx cGk0ZnA4aDhzemhqczV5d3d5MjBucW1tczgiKSkpKQo+ICvCoMKgwqDCoMKgwqDCoMKgwqAgKGJh c2UzMgo+ICIxdnBrbmgwOHZod3l2amc3cDhpZDNodmxxMXl2N3lqdzh4eGdqZjBybXgzYjFrMm1w d3cxIikpKSkKPiDCoMKgwqDCoCAoYnVpbGQtc3lzdGVtIHB5dGhvbi1idWlsZC1zeXN0ZW0pCj4g LcKgwqDCoCAoaW5wdXRzIChsaXN0IHB5dGhvbi1oeXB5LXV0aWxzIHB5dGhvbi10eXBpbmctZXh0 ZW5zaW9ucykpCj4gLcKgwqDCoCAoYXJndW1lbnRzIGAoIzpwaGFzZXMgKG1vZGlmeS1waGFzZXMg JXN0YW5kYXJkLXBoYXNlcwo+IC3CoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqAgKGFkZC1iZWZvcmUgJ2J1aWxkICdzZXQtSE9NRQo+IC3CoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChsYW1i ZGEgX8KgIDs7IFRyaWVzIHRvIHNldCBmaWxlcyBpbgo+IC5jb25maWcKPiAtwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKHNldGVu diAiSE9NRSIgIi90bXAiKSkpKSkpCj4gK8KgwqDCoCAoaW5wdXRzIChsaXN0IHB5dGhvbi10eXBp bmctZXh0ZW5zaW9ucykpCj4gK8KgwqDCoCAoYXJndW1lbnRzCj4gK8KgwqDCoMKgIChsaXN0ICM6 dGVzdHM/ICNmwqDCoMKgIDtGSVhNRTogYFN5bnRheEVycm9yOiBpbnZhbGlkIHN5bnRheGAgaW4K PiBzb21lIGxvZ29zLgpEb24ndCBibGluZGx5IGRpc2FibGUgdGVzdHMuICBGaXggdGhlIHN5bnRh eCBlcnJvciBpbnN0ZWFkLgoKCkNoZWVycwo= From unknown Thu Jun 19 14:27:53 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61397] [PATCH v2] gnu: hyfetch: Update to 1.4.6. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Sat, 11 Feb 2023 04:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61397 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61397@debbugs.gnu.org Cc: Liliana Marie Prikler X-Debbugs-Original-Xcc: Liliana Marie Prikler Received: via spool by 61397-submit@debbugs.gnu.org id=B61397.167609015812825 (code B ref 61397); Sat, 11 Feb 2023 04:36:01 +0000 Received: (at 61397) by debbugs.gnu.org; 11 Feb 2023 04:35:58 +0000 Received: from localhost ([127.0.0.1]:38468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQhcD-0003Kl-6z for submit@debbugs.gnu.org; Fri, 10 Feb 2023 23:35:57 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:42830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQhc8-0003KT-IP for 61397@debbugs.gnu.org; Fri, 10 Feb 2023 23:35:55 -0500 Date: Sat, 11 Feb 2023 12:34:51 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1676090143; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ye2SmU7WEB81ZSJbPd4VFxrCc1L500f+CMa7U0KZ1rE=; b=dF8r9KGRbksfxH8I5CBwgiKgLKF6ihx3fbdDOvTx6kZe/yPROU8//k2rTA/vHYoBG5d9rK XQGE6G88Rqs78lD+MqsByy06cx4qUmtdS1Buxj8cGUwY8JDd/07pPvKF7Jp/8ynHiXQLTU 12QB9y0FshJQcy7RyNp8hf4aWkGWMQgs9wD0+nuf3ncfIj4PeXN4yc4j/+I0XmJo1p0nCo s1O1humJAo4sHQcpWil+dHQ3trGlo88cVgtH8LHXapm12CfacqF3BKdqrd31wWXc4cXRz+ Y2Xzu3FbNtD7BTsq/BmcxGETbLIzvZA4nP7LRpRUNyBg4hoY6VwC63x1zSBptw== Message-ID: <87o7q0akgk.wl-hako@ultrarare.space> From: Hilton Chain In-Reply-To: <6768fcaeaf0e16053fcdcd696ec8d410c29bd946.camel@gmail.com> References: <874jru11lv.wl-hako@ultrarare.space> <6768fcaeaf0e16053fcdcd696ec8d410c29bd946.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-Spamd-Bar: / X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/patches/hyfetch-fix-generator-script-quotation-escaping.patch: New file. * gnu/packages/patches/hyfetch-remove-old-catchy-os-py.patch: New file. * gnu/local.mk (dist_patch_DATA): Add them. * gnu/packages/admin.scm (hyfetch)[source]: Update to 1.4.6. Switch to git source and add patches. [inputs]: Remove python-hypy-utils. [arguments]<#:phases>: Remove set-HOME phase. --- gnu/local.mk | 2 + gnu/packages/admin.scm | 27 ++-- ...-generator-script-quotation-escaping.patch | 115 ++++++++++++++++++ .../hyfetch-remove-old-catchy-os-py.patch | 48 ++++++++ 4 files changed, 181 insertions(+), 11 deletions(-) create mode 100644 gnu/packages/patches/hyfetch-fix-generator-script-quotation-escaping.patch create mode 100644 gnu/packages/patches/hyfetch-remove-old-catchy-os-py.patch diff --git a/gnu/local.mk b/gnu/local.mk index b432a95026..f51b5a7e03 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1321,6 +1321,8 @@ dist_patch_DATA = \ %D%/packages/patches/hurd-cross.patch \ %D%/packages/patches/hurd-xattr.patch \ %D%/packages/patches/hwloc-1-test-btrfs.patch \ + %D%/packages/patches/hyfetch-fix-generator-script-quotation-escaping.patch \ + %D%/packages/patches/hyfetch-remove-old-catchy-os-py.patch \ %D%/packages/patches/i7z-gcc-10.patch \ %D%/packages/patches/icecat-makeicecat.patch \ %D%/packages/patches/icecat-avoid-bundled-libraries.patch \ diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 9a82740eb6..4833105eed 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -3922,19 +3922,24 @@ (define-public neofetch (define-public hyfetch (package (name "hyfetch") - (version "1.4.4") + (version "1.4.6") (source - (origin - (method url-fetch) - (uri (pypi-uri "HyFetch" version)) - (sha256 - (base32 "1k3pcl16y2czkk7wd79yk0w1kqpi4fp8h8szhjs5ywwy20nqmms8")))) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hykilpikonna/hyfetch") + (commit version))) + (file-name (git-file-name name version)) + (patches + (search-patches + ;; XXX: Cherry-picked from upstream, remove when updating. + "hyfetch-fix-generator-script-quotation-escaping.patch" + "hyfetch-remove-old-catchy-os-py.patch")) + (sha256 + (base32 + "1cnjvkil40bipia8gvs32q0lbqyi5j0nrsr7k4s0c55rh5bhkc3d")))) (build-system python-build-system) - (inputs (list python-hypy-utils python-typing-extensions)) - (arguments `(#:phases (modify-phases %standard-phases - (add-before 'build 'set-HOME - (lambda _ ;; Tries to set files in .config - (setenv "HOME" "/tmp")))))) + (inputs (list python-typing-extensions)) (home-page "https://github.com/hykilpikonna/HyFetch") (synopsis "@code{neofetch} with pride flags <3") (description "HyFetch is a command-line system information tool fork of diff --git a/gnu/packages/patches/hyfetch-fix-generator-script-quotation-escaping.patch b/gnu/packages/patches/hyfetch-fix-generator-script-quotation-escaping.patch new file mode 100644 index 0000000000..dc09864707 --- /dev/null +++ b/gnu/packages/patches/hyfetch-fix-generator-script-quotation-escaping.patch @@ -0,0 +1,115 @@ +From db69285ec161452c11ae490266e84211bec38c0d Mon Sep 17 00:00:00 2001 +From: Azalea Gui +Date: Fri, 10 Feb 2023 23:05:23 -0500 +Subject: [PATCH] [F] Fix generator script quotation escaping #91 #90 + +--- + hyfetch/distros/debian.py | 4 ++-- + hyfetch/distros/haiku.py | 2 +- + hyfetch/distros/puffos.py | 2 +- + hyfetch/distros/skiffos.py | 2 +- + hyfetch/distros/trisquel.py | 4 ++-- + tools/list_distros.py | 4 +++- + 6 files changed, 10 insertions(+), 8 deletions(-) + +diff --git a/hyfetch/distros/debian.py b/hyfetch/distros/debian.py +index 8aab161d..7b4a2a9c 100644 +--- a/hyfetch/distros/debian.py ++++ b/hyfetch/distros/debian.py +@@ -4,7 +4,7 @@ from . import AsciiArt + debian = AsciiArt(match=r'''"Debian"*''', color='1 7 3', ascii=r""" + ${c2} _,met$$$$$gg. + ,g$$$$$$$$$$$$$$$P. +- ,g$$P" \"""Y$$.". ++ ,g$$P" "\""Y$$.". + ,$$P' `$$$. + ',$$P ,ggs. `$$b: + `d$$' ,$P"' ${c1}.${c2} $$$ +@@ -18,6 +18,6 @@ ${c2} `Y$$ + `$$b. + `Y$$b. + `"Y$b._ +- `\""" ++ `"\"" + """) + +\ No newline at end of file +diff --git a/hyfetch/distros/haiku.py b/hyfetch/distros/haiku.py +index cf10cfc5..198cd142 100644 +--- a/hyfetch/distros/haiku.py ++++ b/hyfetch/distros/haiku.py +@@ -15,6 +15,6 @@ ${c3} MMMM${c4} .cOMMMMM|/MMMMM/` + MM${c4}MMMMMMM/`:MMM/ ${c3}MMMM + MMMM MMMM + MMMM MMMM +- \"""" \"""" ++ "\"\"" "\"\"" + """) + +\ No newline at end of file +diff --git a/hyfetch/distros/puffos.py b/hyfetch/distros/puffos.py +index 789d3994..0e61def4 100644 +--- a/hyfetch/distros/puffos.py ++++ b/hyfetch/distros/puffos.py +@@ -7,7 +7,7 @@ ${c1} + ,/' '""; + / ". + ,'mmmMMMMmm. \ +- _/-"^^^^^\"""%#%mm, ; ++ _/-"^^^^^"\""%#%mm, ; + ,m,_,' "###) ;, + (###% \#/ ;##mm. + ^#/ __ ___ ; (######) +diff --git a/hyfetch/distros/skiffos.py b/hyfetch/distros/skiffos.py +index 49d311c0..93a846a7 100644 +--- a/hyfetch/distros/skiffos.py ++++ b/hyfetch/distros/skiffos.py +@@ -11,6 +11,6 @@ ${c2} + ${c2}*@@@@@@@@@@@@@@@@@@@@@@@@@p${c1}||||==, + ${c1}`'||LLL{{""${c2}@$B@@@@@@@@@@@@@@@p${c1}|| + ${c1}`~=|||||||||||L"${c2}$@@@@@@@@@@@ +- ${c1}````'\"""\""""${c2}'\"""\""""" ++ ${c1}````'"\"\""\"\""${c2}'"\"\""\"\"\"" + """) + +\ No newline at end of file +diff --git a/hyfetch/distros/trisquel.py b/hyfetch/distros/trisquel.py +index c92a5938..b15eb1f4 100644 +--- a/hyfetch/distros/trisquel.py ++++ b/hyfetch/distros/trisquel.py +@@ -3,7 +3,7 @@ from . import AsciiArt + + trisquel = AsciiArt(match=r'''"Trisquel"*''', color='4 6', ascii=r""" + ${c1} ,o$$$o. +- ,o$$Y\"""Y$$b ++ ,o$$Y"\""Y$$b + ,o$$$$$$o. ,$$' , Y$$b + ,o$$$$$$$$$$$$o. :$ b Y$$. + ,$$"' "Y$$$$o. 'b. ,b d$$$ +@@ -11,7 +11,7 @@ $$' .d$$$$b '$$$$o 'Y$$$Y d$$$' + $$' q' 'b '$$$$$o._ _.o$$$$' + .$$,_ _,d$ ,$$$$$$$$$$$$${c2}$$$$Y' + ${c1} '$$$$aaa$$$' .$$$$$$${c2}$$$$$$$$' +-${c1} \"""" ${c2}d$$$$"' ++${c1} "\"\"" ${c2}d$$$$"' + d$$$' .d$$b. + $$$$ .$" 'a$. + $$$$ $b $$. +diff --git a/tools/list_distros.py b/tools/list_distros.py +index d781b581..63fb5288 100755 +--- a/tools/list_distros.py ++++ b/tools/list_distros.py +@@ -140,7 +140,9 @@ def export_distro(d: AsciiArt) -> str: + varname = varname.replace(s, '_') + + # Escape/unescape ascii +- ascii = d.ascii.replace('"""', '\\"""').replace("\\\\", "\\") ++ ascii = d.ascii.replace("\\\\", "\\") ++ while '"""' in ascii: ++ ascii = ascii.replace('"""', '"\\""') + + script = f""" + from . import AsciiArt +-- +2.39.1 + diff --git a/gnu/packages/patches/hyfetch-remove-old-catchy-os-py.patch b/gnu/packages/patches/hyfetch-remove-old-catchy-os-py.patch new file mode 100644 index 0000000000..253730ce22 --- /dev/null +++ b/gnu/packages/patches/hyfetch-remove-old-catchy-os-py.patch @@ -0,0 +1,48 @@ +From be475f02112e75a7ff72a594f75eb63b0a5ac29b Mon Sep 17 00:00:00 2001 +From: Azalea Gui +Date: Fri, 10 Feb 2023 23:25:16 -0500 +Subject: [PATCH] [-] Remove old catchy_os.py (Fixes #92) + +--- + hyfetch/distros/cachy_os.py | 28 ---------------------------- + 1 file changed, 28 deletions(-) + delete mode 100644 hyfetch/distros/cachy_os.py + +diff --git a/hyfetch/distros/cachy_os.py b/hyfetch/distros/cachy_os.py +deleted file mode 100644 +index 75df6106..00000000 +--- a/hyfetch/distros/cachy_os.py ++++ /dev/null +@@ -1,28 +0,0 @@ +- +-from hyfetch.distro import AsciiArt +- +-cachy_os = AsciiArt(match=r'''"Cachy OS"*''', color='2 8 6', ascii=r""" +-${c3} ${c2}.${c3}-------------------------: +-${c3} .${c1}+=${c3}========================. +-${c3} :${c1}++${c3}===${c1}++===${c3}===============- :${c1}++${c3}- +-${c3} :${c1}*++${c3}====${c1}+++++==${c3}===========- .==: +-${c3} -${c1}*+++${c3}=====${c1}+***++=${c3}=========: +-${c3} =${c1}*++++=${c3}=======------------: +-${c3} =${c1}*+++++=${c3}====- ${c2}...${c3} +-${c3} .${c1}+*+++++${c3}=-===: .${c1}=+++=${c3}: +-${c3} :${c1}++++${c3}=====-==: -***${c1}**${c3}+ +-${c3} :${c1}++=${c3}=======-=. .=+**+${c2}.${c3} +-${c3}.${c1}+${c3}==========-. ${c2}.${c3} +-${c3} :${c1}+++++++${c3}====- ${c2}.${c3}--==-${c2}.${c3} +-${c3} :${c1}++${c3}==========. ${c2}:${c1}+++++++${c3}${c2}: +-${c3} .-===========. =*****+*+ +-${c3} .-===========: .+*****+: +-${c3} -=======${c1}++++${c3}:::::::::::::::::::::::::-: ${c2}.${c3}---: +-${c3} :======${c1}++++${c3}====${c1}+++******************=. +-${c3} :=====${c1}+++${c3}==========${c1}++++++++++++++*- +-${c3} .====${c1}++${c3}==============${c1}++++++++++*- +-${c3} .===${c1}+${c3}==================${c1}+++++++: +-${c3} .-=======================${c1}+++: +-${c3} ${c2}.......................... +-""") +- +\ No newline at end of file +-- +2.39.1 + base-commit: 3ab8559436356ef89aa60135d3558681d64443ae -- 2.39.1 From unknown Thu Jun 19 14:27:53 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Hilton Chain Subject: bug#61397: closed (Re: [PATCH v2] gnu: hyfetch: Update to 1.4.6.) Message-ID: References: <874jru11lv.wl-hako@ultrarare.space> X-Gnu-PR-Message: they-closed 61397 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 61397@debbugs.gnu.org Date: Sun, 19 Feb 2023 07:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1676791922-9655-1" This is a multi-part message in MIME format... ------------=_1676791922-9655-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #61397: [PATCH] gnu: hyfetch: Update to 1.4.6. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 61397@debbugs.gnu.org. --=20 61397: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D61397 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1676791922-9655-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 61397-done) by debbugs.gnu.org; 19 Feb 2023 07:31:10 +0000 Received: from localhost ([127.0.0.1]:45561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTeAA-0002Uc-Ey for submit@debbugs.gnu.org; Sun, 19 Feb 2023 02:31:10 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:43006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTeA7-0002UE-IB for 61397-done@debbugs.gnu.org; Sun, 19 Feb 2023 02:31:09 -0500 Received: by mail-ed1-f66.google.com with SMTP id et7so868084edb.9 for <61397-done@debbugs.gnu.org>; Sat, 18 Feb 2023 23:31:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=SthbmcNJmUMJt0OMWibU9rLuvNbhBIFzs77rhNUSA0Q=; b=KIOmcktRuA1PF4NHBXr4FPM6Fj2bdBAj05MfQZdEPtAgSqrQm+C/eCTeATaB/lcx2D EnysDSFkMGWCAeyiMYNYrgoWfh0wNHArRv4okfRAmfyLJ2UAzFiKVvoSqYv7ppRIfRsy FVaEK414V+CHyjAIgOErpm3AgLYN53F0iLHOnvDqxbw0PDG4rkM2opIDONuMsVICm1AZ Ja1a77yIb/dz0IgJ9hcvqF722RVZFfUFw24I/zafmx3wt45EcUFcQn/1aMPwtjqW5dWY GXRoMYWlZ4o842g6LllaQCtwwAkusQrT5+BZUDJ0TIMdjqU8p4fHndooAqNGJVwfMQzi F/0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=SthbmcNJmUMJt0OMWibU9rLuvNbhBIFzs77rhNUSA0Q=; b=xg6eEZ4/7CXr3CXNsnqgS1KaKwUvwVpXtomBqMDtKWqP2bL8bKA05Iw5YtUrkRj0Nv I8T51UfP8Xz232YeTfuMnM9D0QFd6hoovUb3/KfZF+OfnopR8oqe0b0ss4lTrk++sQht WOA0PNFLENvQOT3YHOYpiO4t1xgLbg+GKCp7l5pMy/g+memIUAyHAcL7ynttV5ze1nA+ 3ngdw4pDKRBFJ4K2rs4YS37TXhGuFhIQYQZGT1DOBO61t6DumzFY8WbWmt0qGq68JrpT SaMNjQPOEnU1pN3487kvGtLunQX3c6lkNgfQPz7fBmX63lnB+NxY4k9bvOvpKXLSh16m kk5Q== X-Gm-Message-State: AO0yUKVs9XQsdPp3au53ro+GO4GvC3juB1Ey6QQfjNuno8wlMtQzLpLc OnO3yGMGUEV2t9wsA5g/VF0= X-Google-Smtp-Source: AK7set99ZnLHAEERcO9bllPqMIP8nBolsTDg2DX2VIiJW5xqpHcghnwE31hW3zuKaMYrDF5CP4hAXg== X-Received: by 2002:a17:907:c297:b0:8aa:6edf:2a9 with SMTP id tk23-20020a170907c29700b008aa6edf02a9mr5425079ejc.69.1676791861925; Sat, 18 Feb 2023 23:31:01 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id de24-20020a1709069bd800b008b13c87d951sm4265449ejc.146.2023.02.18.23.31.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Feb 2023 23:31:01 -0800 (PST) Message-ID: Subject: Re: [PATCH v2] gnu: hyfetch: Update to 1.4.6. From: Liliana Marie Prikler To: Hilton Chain , 61397-done@debbugs.gnu.org Date: Sun, 19 Feb 2023 08:31:00 +0100 In-Reply-To: <87o7q0akgk.wl-hako@ultrarare.space> References: <874jru11lv.wl-hako@ultrarare.space> <6768fcaeaf0e16053fcdcd696ec8d410c29bd946.camel@gmail.com> <87o7q0akgk.wl-hako@ultrarare.space> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 MIME-Version: 1.0 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Am Samstag, dem 11.02.2023 um 12:34 +0800 schrieb Hilton Chain: > > * gnu/packages/patches/hyfetch-fix-generator-script-quotation- > escaping.patch: > New file. > * gnu/packages/patches/hyfetch-remove [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.208.66 listed in bl.score.senderscore.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.208.66 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.208.66 listed in list.dnswl.org] X-Debbugs-Envelope-To: 61397-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Am Samstag, dem 11.02.2023 um 12:34 +0800 schrieb Hilton Chain: >=20 > * gnu/packages/patches/hyfetch-fix-generator-script-quotation- > escaping.patch: > New file. > * gnu/packages/patches/hyfetch-remove-old-catchy-os-py.patch: New > file. > * gnu/local.mk (dist_patch_DATA): Add them. > * gnu/packages/admin.scm (hyfetch)[source]: Update to 1.4.6. > Switch to git source and add patches. > [inputs]: Remove python-hypy-utils. > [arguments]<#:phases>: Remove set-HOME phase. > --- Pushed. ------------=_1676791922-9655-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Feb 2023 06:23:10 +0000 Received: from localhost ([127.0.0.1]:34164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQMoP-0006NH-O4 for submit@debbugs.gnu.org; Fri, 10 Feb 2023 01:23:10 -0500 Received: from lists.gnu.org ([209.51.188.17]:34804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQMoO-0006NA-3L for submit@debbugs.gnu.org; Fri, 10 Feb 2023 01:23:08 -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 1pQMoN-0002s6-OV for guix-patches@gnu.org; Fri, 10 Feb 2023 01:23:07 -0500 Received: from mail.boiledscript.com ([144.168.59.46]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQMoM-0005kK-2Z for guix-patches@gnu.org; Fri, 10 Feb 2023 01:23:07 -0500 Date: Fri, 10 Feb 2023 14:22:20 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1676010183; 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=NSFyLCJnjh3DklaoTkIQx7YHzRQiULoffFwaoRK/Eq0=; b=kO/vcJoMpSE5zdvf++ccitWj1qCWJTTMWyuukb+MMV89s5xZQtfr3Q95QKV4JRz15ibkuM 3LUyfAohAJeyVSxleo5d52dxDVF3NOH5SIg1f98chgRo+D6wel2RydTxDhYAiS6eZpl0Yr H1mIffauUy86ajJTCBxtiXus+paRgbTeJCJetOAcc9usKuIgwJ9uaE99d9XaUq8kJaz3l/ VfgsdnqTdHvv7/y0LigbL5Y8FPv+wCugHKDxtFqIpWjp34XX9Zl06T9ufqlkgzuijPlgHw tQXdwXmhnkUBX3paWnO9TFTY7/hsj7YuCrStBu/FR4wAsDWkHz5hetpJT2q7vg== Message-ID: <874jru11lv.wl-hako@ultrarare.space> From: Hilton Chain To: guix-patches@gnu.org Subject: [PATCH] gnu: hyfetch: Update to 1.4.6. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-Spamd-Bar: / Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/admin.scm (hyfetch): Update to 1.4.6. [inputs]: Remove python-hypy-utils. [arguments]<#:tests?>: Disable tests. <#:phases>: Remove set-HOME phase. Replace install phase to one w/o byte-compilation. --- gnu/packages/admin.scm | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 9a82740eb6..8d06b5379e 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -3922,19 +3922,29 @@ (define-public neofetch (define-public hyfetch (package (name "hyfetch") - (version "1.4.4") + (version "1.4.6") (source (origin (method url-fetch) (uri (pypi-uri "HyFetch" version)) (sha256 - (base32 "1k3pcl16y2czkk7wd79yk0w1kqpi4fp8h8szhjs5ywwy20nqmms8")))) + (base32 "1vpknh08vhwyvjg7p8id3hvlq1yv7yjw8xxgjf0rmx3b1k2mpww1")))) (build-system python-build-system) - (inputs (list python-hypy-utils python-typing-extensions)) - (arguments `(#:phases (modify-phases %standard-phases - (add-before 'build 'set-HOME - (lambda _ ;; Tries to set files in .config - (setenv "HOME" "/tmp")))))) + (inputs (list python-typing-extensions)) + (arguments + (list #:tests? #f ;FIXME: `SyntaxError: invalid syntax` in some logos. + #:phases + #~(modify-phases %standard-phases + ;; Copied from the original install phase, w/o byte-compiling. + ;; Since the same error in test occurs with that. + (replace 'install + (lambda _ + (let ((params (list (string-append "--prefix=" #$output) + "--no-compile" + "--single-version-externally-managed" + "--root=/"))) + ((@@ (guix build python-build-system) + call-setuppy) "install" params #t))))))) (home-page "https://github.com/hykilpikonna/HyFetch") (synopsis "@code{neofetch} with pride flags <3") (description "HyFetch is a command-line system information tool fork of base-commit: b8f6ead5faac3c1b9a8fa6e060c00cf0917e884e -- 2.39.1 ------------=_1676791922-9655-1--