GNU bug report logs - #52094
[PATCH] gnu: Add speedometer.

Previous Next

Package: guix-patches;

Reported by: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>

Date: Thu, 25 Nov 2021 08:58:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52094 in the body.
You can then email your comments to 52094 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#52094; Package guix-patches. (Thu, 25 Nov 2021 08:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Foo Chuan Wei <chuanwei.foo <at> hotmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 25 Nov 2021 08:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add speedometer.
Date: Thu, 25 Nov 2021 08:56:53 +0000
* gnu/packages/networking.scm (speedometer): New variable.
---
 gnu/packages/networking.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index b583d2531f..2e0ccf62bb 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -44,6 +44,7 @@
 ;;; Copyright © 2021 Justin Veilleux <terramorpha <at> cock.li>
 ;;; Copyright © 2021 Vinicius Monego <monego <at> posteo.net>
 ;;; Copyright © 2021 Milkey Mouse <milkeymouse <at> meme.institute>
+;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4208,6 +4209,35 @@ on hub/switched networks.  It is based on @acronym{ARP} packets, it will send
    (home-page "https://github.com/netdiscover-scanner/netdiscover")
    (license license:gpl3+)))
 
+(define-public speedometer
+  (package
+    (name "speedometer")
+    (version "2.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Speedometer" version))
+       (sha256
+        (base32 "0qgpjmahy0wlfszqxg0067ck2xab5k6j42d0ifxg1j281yqnm9bx"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-script
+           (lambda _
+             (substitute* "setup.py"
+               (("'scripts': \\['speedometer.py'\\],")
+                "'packages': ['.'],")))))
+       #:python ,python-2))
+    (propagated-inputs
+     `(("python2-urwid" ,python2-urwid)))
+    (home-page "https://excess.org/speedometer/")
+    (synopsis "Measure and display the rate of data across a network connection")
+    (description
+     "Console monitor of the rate of data across a network connection or data
+being stored in a file.")
+    (license license:lgpl2.1+)))
+
 (define-public putty
   (package
     (name "putty")

base-commit: 4fd6aabeaabae9184407276f3ae2436284bbcf63
-- 
2.25.1





Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 04 Jan 2023 00:49:01 GMT) Full text and rfc822 format available.

Notification sent to Foo Chuan Wei <chuanwei.foo <at> hotmail.com>:
bug acknowledged by developer. (Wed, 04 Jan 2023 00:49:02 GMT) Full text and rfc822 format available.

Message #10 received at 52094-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
Cc: 52094-done <at> debbugs.gnu.org
Subject: Re: bug#52094: [PATCH] gnu: Add speedometer.
Date: Tue, 03 Jan 2023 19:48:14 -0500
Hi,

Foo Chuan Wei <chuanwei.foo <at> hotmail.com> writes:

> * gnu/packages/networking.scm (speedometer): New variable.
> ---
>  gnu/packages/networking.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
>
> diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
> index b583d2531f..2e0ccf62bb 100644
> --- a/gnu/packages/networking.scm
> +++ b/gnu/packages/networking.scm
> @@ -44,6 +44,7 @@
>  ;;; Copyright © 2021 Justin Veilleux <terramorpha <at> cock.li>
>  ;;; Copyright © 2021 Vinicius Monego <monego <at> posteo.net>
>  ;;; Copyright © 2021 Milkey Mouse <milkeymouse <at> meme.institute>
> +;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -4208,6 +4209,35 @@ on hub/switched networks.  It is based on @acronym{ARP} packets, it will send
>     (home-page "https://github.com/netdiscover-scanner/netdiscover")
>     (license license:gpl3+)))
>  
> +(define-public speedometer
> +  (package
> +    (name "speedometer")
> +    (version "2.8")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "Speedometer" version))
> +       (sha256
> +        (base32 "0qgpjmahy0wlfszqxg0067ck2xab5k6j42d0ifxg1j281yqnm9bx"))))
> +    (build-system python-build-system)
> +    (arguments
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'fix-script
> +           (lambda _
> +             (substitute* "setup.py"
> +               (("'scripts': \\['speedometer.py'\\],")
> +                "'packages': ['.'],")))))
> +       #:python ,python-2))
> +    (propagated-inputs
> +     `(("python2-urwid" ,python2-urwid)))

Thanks for this contribution!

Unfortunately, depending on python2-urwid is a problem; we are trying to
purge Python 2 packages from Guix so do not want to add new ones.

Since the latest version is Speedometer 2.8 - 2011-12-08, according to
[0], I think it's fair to say that it is unmaintained and refuse adding
it to our collection on this basis.

I'll close the issue; feel free to send a Python 3 version if and when
it becomes a thing.

[0]  https://excess.org/speedometer/

Thanks,

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 01 Feb 2023 12:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 136 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.