From ff12cf5e0702757661f870b2679a4c5fecc714b9 Mon Sep 17 00:00:00 2001 From: "Wamm K. D" Date: Wed, 20 Apr 2022 13:18:25 -0500 Subject: gnu: Add hyfetch. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/admin.scm (hyfetch): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/admin.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 94636faf8b..a200050d97 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -47,6 +47,7 @@ ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2021 Petr Hodina ;;; Copyright © 2021 Artyom V. Poptsov +;;; Copyright © 2022 Wamm K. D. ;;; ;;; This file is part of GNU Guix. ;;; @@ -3733,6 +3734,32 @@ used in screenshots to show other users what operating system or distribution you are running, what theme or icon set you are using, etc.") (license license:expat))) +(define-public hyfetch + (package + (name "hyfetch") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "HyFetch" version)) + (sha256 + (base32 "1bfkycdhsyzkk6q24gdy1xwvyz0rvkr7xk2khbn74b3nk6kp83r2")))) + (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")))))) + (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 +@code{neofetch}. HyFetch displays information about your system next to your +OS logo in ASCII representation. The ASCII representation is then colored in +the pattern of the pride flag of your choice. The main purpose of HyFetch is to +be used in screenshots to show other users what operating system or distribution +you are running, what theme or icon set you are using, etc.") + (license license:expat))) + (define-public screenfetch (package (name "screenfetch") -- cgit v1.2.3