all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#54847] [PATCH] gnu: Add python-hypy-utils.
@ 2022-04-11  7:48 Wamm K. D
  0 siblings, 0 replies; 11+ messages in thread
From: Wamm K. D @ 2022-04-11  7:48 UTC (permalink / raw)
  To: 54847; +Cc: Wamm K. D

---
The end goal is to add hyfetch but it has python-hypy-utils, as a dependency,
so sending this, first.

 gnu/packages/python-xyz.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 55705ab2ea..11f6511d6c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -118,6 +118,7 @@
 ;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
 ;;; Copyright © 2022 Evgeny Pisemsky <evgeny@pisemsky.com>
 ;;; Copyright © 2022 drozdov <drozdov@portalenergy.tech>
+;;; Copyright © 2022 Wamm K. D. <jaft.r@outlook.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -29364,3 +29365,19 @@ (define-public python-aiopg
 database from the asyncio (PEP-3156/tulip) framework.  It wraps
 asynchronous features of the Psycopg database driver.")
     (license license:bsd-3)))
+
+(define-public python-hypy-utils
+  (package
+    (name "python-hypy-utils")
+    (version "1.0.6")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "hypy_utils" version))
+              (sha256 (base32
+                       "05csk0x8ivavq88x457cq5hwjcdirfbkzj7bbg5qgnpnf2dxxhiw"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/hykilpikonna/HyPyUtils")
+    (synopsis "Python utility functions for HyDEV")
+    (description "This module provides Python utility functions for modifying
+and setting the color of terminal output, via HyDEV.")
+    (license license:expat)))
-- 
2.35.1





^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [bug#54847] [PATCH] gnu: Add hyfetch.
       [not found] <5>
@ 2022-04-11  8:01 ` Wamm K. D
  2022-04-11  9:02   ` Maxime Devos
                     ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Wamm K. D @ 2022-04-11  8:01 UTC (permalink / raw)
  To: 54847; +Cc: Wamm K. D

---
 gnu/packages/admin.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 1db04adf71..e15d443771 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -47,6 +47,7 @@
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 ;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
 ;;; Copyright © 2021 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2022 Wamm K. D. <jaft.r@outlook.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3713,6 +3714,33 @@ (define-public neofetch
 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)
+    (propagated-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 an
+image, your OS logo, or any ASCII file of your choice.  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")
-- 
2.35.1





^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [bug#54847] [PATCH] gnu: Add hyfetch.
  2022-04-11  8:01 ` [bug#54847] [PATCH] gnu: Add hyfetch Wamm K. D
@ 2022-04-11  9:02   ` Maxime Devos
  2022-04-11  9:04   ` Maxime Devos
                     ` (4 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: Maxime Devos @ 2022-04-11  9:02 UTC (permalink / raw)
  To: Wamm K. D, 54847

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

Wamm K. D schreef op ma 11-04-2022 om 03:01 [-0500]:
> +    (propagated-inputs (list python-hypy-utils python-typing-extensions))

Do these need to be propagated?

Greetings,
Maxime

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [bug#54847] [PATCH] gnu: Add hyfetch.
  2022-04-11  8:01 ` [bug#54847] [PATCH] gnu: Add hyfetch Wamm K. D
  2022-04-11  9:02   ` Maxime Devos
@ 2022-04-11  9:04   ` Maxime Devos
  2022-04-11  9:06   ` Maxime Devos
                     ` (3 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: Maxime Devos @ 2022-04-11  9:04 UTC (permalink / raw)
  To: Wamm K. D, 54847

[-- Attachment #1: Type: text/plain, Size: 521 bytes --]

Wamm K. D schreef op ma 11-04-2022 om 03:01 [-0500]:
> +    (arguments `(#:phases (modify-phases %standard-phases
> +                            (add-before 'build 'set-HOME
> +                              (lambda _  ;; Tries to set files in .config
> +                                (setenv "HOME" "/tmp"))))))

neofetch has #:tests? #false, #:make-flags and no set-home phase.  How
come this fork doesn't?

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [bug#54847] [PATCH] gnu: Add hyfetch.
  2022-04-11  8:01 ` [bug#54847] [PATCH] gnu: Add hyfetch Wamm K. D
  2022-04-11  9:02   ` Maxime Devos
  2022-04-11  9:04   ` Maxime Devos
@ 2022-04-11  9:06   ` Maxime Devos
  2022-04-11  9:06   ` Maxime Devos
                     ` (2 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: Maxime Devos @ 2022-04-11  9:06 UTC (permalink / raw)
  To: Wamm K. D, 54847

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

Wamm K. D schreef op ma 11-04-2022 om 03:01 [-0500]:
> +    (synopsis "@code{neofetch} with pride flags <3")

You are not restricted to ASCII, you can write 🫀, 💓, 💔, 💕, 💖, 💗,
💘, 💙, 💚, 💛, 💜, 💝 or 💞 instead of <3.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [bug#54847] [PATCH] gnu: Add hyfetch.
  2022-04-11  8:01 ` [bug#54847] [PATCH] gnu: Add hyfetch Wamm K. D
                     ` (2 preceding siblings ...)
  2022-04-11  9:06   ` Maxime Devos
@ 2022-04-11  9:06   ` Maxime Devos
  2022-04-11  9:08   ` Maxime Devos
  2022-04-11  9:11   ` Maxime Devos
  5 siblings, 0 replies; 11+ messages in thread
From: Maxime Devos @ 2022-04-11  9:06 UTC (permalink / raw)
  To: Wamm K. D, 54847

[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

Wamm K. D schreef op ma 11-04-2022 om 03:01 [-0500]:
> +    (synopsis "@code{neofetch} with pride flags <3")

What does <3 mean here?

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [bug#54847] [PATCH] gnu: Add hyfetch.
  2022-04-11  8:01 ` [bug#54847] [PATCH] gnu: Add hyfetch Wamm K. D
                     ` (3 preceding siblings ...)
  2022-04-11  9:06   ` Maxime Devos
@ 2022-04-11  9:08   ` Maxime Devos
  2022-04-11  9:11   ` Maxime Devos
  5 siblings, 0 replies; 11+ messages in thread
From: Maxime Devos @ 2022-04-11  9:08 UTC (permalink / raw)
  To: Wamm K. D, 54847

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

Wamm K. D schreef op ma 11-04-2022 om 03:01 [-0500]:
> any ASCII file of your choice

Is it restricted to the ASCII character set, or does any text file do
and can I put 🫀 in the file as well?

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [bug#54847] [PATCH] gnu: Add hyfetch.
  2022-04-11  8:01 ` [bug#54847] [PATCH] gnu: Add hyfetch Wamm K. D
                     ` (4 preceding siblings ...)
  2022-04-11  9:08   ` Maxime Devos
@ 2022-04-11  9:11   ` Maxime Devos
  2022-04-11 17:07     ` Jaft
  5 siblings, 1 reply; 11+ messages in thread
From: Maxime Devos @ 2022-04-11  9:11 UTC (permalink / raw)
  To: Wamm K. D, 54847

[-- Attachment #1: Type: text/plain, Size: 368 bytes --]

Wamm K. D schreef op ma 11-04-2022 om 03:01 [-0500]:
> +    (home-page "https://github.com/hykilpikonna/HyFetch")

It's a fork.  Is there some web page tracking upstreaming progress?
E.g., neofetch could suppport multiple modes, the default 'neofetch'
when running the 'bin/neofetch' binary, 'hyfetch' when running
'bin/hyfetch', etc.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [bug#54847] [PATCH] gnu: Add hyfetch.
  2022-04-11  9:11   ` Maxime Devos
@ 2022-04-11 17:07     ` Jaft
  2022-04-19 10:04       ` [bug#54847] [PATCH] gnu: Add python-hypy-utils Ludovic Courtès
  0 siblings, 1 reply; 11+ messages in thread
From: Jaft @ 2022-04-11 17:07 UTC (permalink / raw)
  To: 54847@debbugs.gnu.org, Maxime Devos

> On Monday, April 11, 2022, 04:02:59 AM CDT, Maxime Devos <maximedevos@telenet.be> wrote:
>
> Wamm K. D schreef op ma 11-04-2022 om 03:01 [-0500]:
> > +    (propagated-inputs (list python-hypy-utils python-typing-extensions))
>
> Do these need to be propagated?

Fair question; that was just what ~guix import pypi hyfetch --recursive~ had given me but I tried it out, again, with them just as ~inputs~ and it worked just fine so I'll get that adjusted.


> Wamm K. D schreef op ma 11-04-2022 om 03:01 [-0500]:
> > +    (arguments `(#:phases (modify-phases %standard-phases
> > +                            (add-before 'build 'set-HOME
> > +                              (lambda _  ;; Tries to set files in .config
> > +                                (setenv "HOME" "/tmp"))))))
>
> neofetch has #:tests? #false, #:make-flags and no set-home phase.  How
> come this fork doesn't?

If I were to hazard a guess, because this is a Python package/module while the other is built with ~make~? I'm afraid I don't know enough to say, otherwise; I can say that the package was able to build alright and run fine without disabling tests.


> Wamm K. D schreef op ma 11-04-2022 om 03:01 [-0500]:
> > +    (synopsis "@code{neofetch} with pride flags <3")
>
> You are not restricted to ASCII, you can write 🫀, 💓, 💔, 💕, 💖, 💗,
> 💘, 💙, 💚, 💛, 💜, 💝 or 💞 instead of <3.
 >
> What does <3 mean here?

Neat; I didn't know that so thanks for the heads up. I think it's just a heart, to be affectionate; it's the synopsis given for the module on pypi.org and, so, was pulled in by the import. I always try to stick as much as possible to the creator's words for their own software so I just left it in but it's definitely far from mandatory in describing what it is the package does. I can remove it, if you'd like, or swap the ASCII representation to one of the emojis you suggested, if that might make it less ambiguous.


> Wamm K. D schreef op ma 11-04-2022 om 03:01 [-0500]:
> > any ASCII file of your choice
>
> Is it restricted to the ASCII character set, or does any text file do
> and can I put 🫀 in the file as well?

Ummm, another really good question. I was assuming, as its a fork of =neofetch=, that the same rules would apply and, so, just borrowed from the =neofetch= description, but, checking this out, I'm not sure if =hyfetch= has this functionality. I'll remove it from there when I update the ~inputs~.


> Wamm K. D schreef op ma 11-04-2022 om 03:01 [-0500]:
> > +    (home-page "https://github.com/hykilpikonna/HyFetch")
>
> It's a fork.  Is there some web page tracking upstreaming progress?
> E.g., neofetch could suppport multiple modes, the default 'neofetch'
> when running the 'bin/neofetch' binary, 'hyfetch' when running
> 'bin/hyfetch', etc.
>
> Greetings,
>
> Maxime.

Outside of the GitHub page itself, not that I know of. I'd probably need a bit more guidance on how to set something like this up, though. That being said, the build process between the two may be more different than similar as =hyfetch= is using Python while =neofetch= is just using a plain Makefile; the old Makefile for =neofetch= is still in the repo., unaltered, so I'm not sure how much direct overlap with the original code still exists, for =hyfetch=. I'm not sure how much of a difference any of that makes but thought I'd, at least, make note.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [bug#54847] [PATCH] gnu: Add python-hypy-utils.
  2022-04-11 17:07     ` Jaft
@ 2022-04-19 10:04       ` Ludovic Courtès
  2022-04-19 18:36         ` Jaft
  0 siblings, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2022-04-19 10:04 UTC (permalink / raw)
  To: Jaft; +Cc: Maxime Devos, 54847@debbugs.gnu.org

Hi Jaft,

Could you send updating patches, updating some of the suggestions
Maxime made?

Thanks in advance!

Ludo’.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [bug#54847] [PATCH] gnu: Add python-hypy-utils.
  2022-04-19 10:04       ` [bug#54847] [PATCH] gnu: Add python-hypy-utils Ludovic Courtès
@ 2022-04-19 18:36         ` Jaft
  0 siblings, 0 replies; 11+ messages in thread
From: Jaft @ 2022-04-19 18:36 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Maxime Devos, 54847@debbugs.gnu.org

Sure thing! There were some threads that Maxime had inquired about that I thought he might provide further guidance on since I wasn't sure how he'd want to proceed with them but I'll get together the changes we have agree upon, so far, and send out an updated patch with them, later today.






> On Tuesday, April 19, 2022, 05:04:47 AM CDT, Ludovic Courtès <ludo@gnu.org> wrote: 
>
>
>
>
>
> Hi Jaft,
>
> Could you send updating patches, updating some of the suggestions
> Maxime made?
>
> Thanks in advance!
>
> Ludo’.




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-04-19 18:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <5>
2022-04-11  8:01 ` [bug#54847] [PATCH] gnu: Add hyfetch Wamm K. D
2022-04-11  9:02   ` Maxime Devos
2022-04-11  9:04   ` Maxime Devos
2022-04-11  9:06   ` Maxime Devos
2022-04-11  9:06   ` Maxime Devos
2022-04-11  9:08   ` Maxime Devos
2022-04-11  9:11   ` Maxime Devos
2022-04-11 17:07     ` Jaft
2022-04-19 10:04       ` [bug#54847] [PATCH] gnu: Add python-hypy-utils Ludovic Courtès
2022-04-19 18:36         ` Jaft
2022-04-11  7:48 Wamm K. D

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.