From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Foo Chuan Wei <chuanwei.foo@hotmail.com>
Cc: 52094-done@debbugs.gnu.org
Subject: bug#52094: [PATCH] gnu: Add speedometer.
Date: Tue, 03 Jan 2023 19:48:14 -0500 [thread overview]
Message-ID: <877cy3xgz5.fsf@gmail.com> (raw)
In-Reply-To: <PU1PR01MB21552B429089FAB97E9C08B08D629@PU1PR01MB2155.apcprd01.prod.exchangelabs.com> (Foo Chuan Wei's message of "Thu, 25 Nov 2021 08:56:53 +0000")
Hi,
Foo Chuan Wei <chuanwei.foo@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@cock.li>
> ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
> ;;; Copyright © 2021 Milkey Mouse <milkeymouse@meme.institute>
> +;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@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
prev parent reply other threads:[~2023-01-04 0:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-25 8:56 [bug#52094] [PATCH] gnu: Add speedometer Foo Chuan Wei
2023-01-04 0:48 ` Maxim Cournoyer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877cy3xgz5.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=52094-done@debbugs.gnu.org \
--cc=chuanwei.foo@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).