[PATCH] gnu: Add speedtest-cli.

  • Done
  • quality assurance status badge
Details
5 participants
  • Efraim Flashner
  • Kei Kebreau
  • Leo Famulari
  • pjotr.public12
  • Ricardo Wurmus
Owner
unassigned
Submitted by
pjotr.public12
Severity
normal

Debbugs page

P
P
pjotr.public12 wrote on 26 Feb 2017 02:52
(address . guix-patches@gnu.org)(name . Pjotr Prins)(address . pjotr.public01@thebird.nl)
20170226105221.18905-1-pjotr.public12@thebird.nl
From: Pjotr Prins <pjotr.public01@thebird.nl>

* gnu/packages/networking.scm (speedtest-cli): New variable.
---
gnu/packages/networking.scm | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)

Toggle diff (48 lines)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index a10fbfe..942ed39 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2016, 2017 ng0 <ng0@libertad.pw>
;;; Copyright © 2016 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2016 Benz Schenk <benz.schenk@uzh.ch>
+;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -80,7 +81,7 @@
(description "GNU MAC Changer is a utility for viewing and changing MAC
addresses of networking devices. New addresses may be set explicitly or
randomly. They can include MAC addresses of the same or other hardware vendors
-or, more generally, MAC addresses of the same category of hardware.")
+or, more generally, MAC addresses of the same category of hardware.")
(license license:gpl2+)))
(define-public miredo
@@ -1119,3 +1120,24 @@ IPFIX, RSPAN, CLI, LACP, 802.1ag).")
license:gpl2 ; datapath
license:bsd-2 license:bsd-3
license:asl2.0)))) ; all other
+
+(define-public speedtest-cli
+ (package
+ (name "speedtest-cli")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/sivel/speedtest-cli/archive/v" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ir9fqwr7cl9kfq7dgh9vkydkwf59wsx0cwbzbffw8i313xhzxa1"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/sivel/speedtest-cli")
+ (synopsis "Internet bandwidth tester")
+ (description
+ "Command line interface for testing internet bandwidth using
+speedtest.net.")
+ (license license:asl2.0)))
--
2.8.4
K
K
Kei Kebreau wrote on 1 Mar 2017 10:05
(address . pjotr.public12@thebird.nl)
87d1e0kh3z.fsf@openmailbox.org
pjotr.public12@thebird.nl writes:

Toggle quote (54 lines)
> From: Pjotr Prins <pjotr.public01@thebird.nl>
>
> * gnu/packages/networking.scm (speedtest-cli): New variable.
> ---
> gnu/packages/networking.scm | 24 +++++++++++++++++++++++-
> 1 file changed, 23 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
> index a10fbfe..942ed39 100644
> --- a/gnu/packages/networking.scm
> +++ b/gnu/packages/networking.scm
> @@ -11,6 +11,7 @@
> ;;; Copyright © 2016, 2017 ng0 <ng0@libertad.pw>
> ;;; Copyright © 2016 Arun Isaac <arunisaac@systemreboot.net>
> ;;; Copyright © 2016 Benz Schenk <benz.schenk@uzh.ch>
> +;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -80,7 +81,7 @@
> (description "GNU MAC Changer is a utility for viewing and changing MAC
> addresses of networking devices. New addresses may be set explicitly or
> randomly. They can include MAC addresses of the same or other hardware vendors
> -or, more generally, MAC addresses of the same category of hardware.")
> +or, more generally, MAC addresses of the same category of hardware.")
> (license license:gpl2+)))
>
> (define-public miredo
> @@ -1119,3 +1120,24 @@ IPFIX, RSPAN, CLI, LACP, 802.1ag).")
> license:gpl2 ; datapath
> license:bsd-2 license:bsd-3
> license:asl2.0)))) ; all other
> +
> +(define-public speedtest-cli
> + (package
> + (name "speedtest-cli")
> + (version "1.0.2")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "https://github.com/sivel/speedtest-cli/archive/v" version ".tar.gz"))
> + (file-name (string-append name "-" version ".tar.gz"))
> + (sha256
> + (base32
> + "1ir9fqwr7cl9kfq7dgh9vkydkwf59wsx0cwbzbffw8i313xhzxa1"))))
> + (build-system python-build-system)
> + (home-page "https://github.com/sivel/speedtest-cli")
> + (synopsis "Internet bandwidth tester")
> + (description
> + "Command line interface for testing internet bandwidth using
> +speedtest.net.")
> + (license license:asl2.0)))

LGTM!
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAli3DWAACgkQ5qXuPBlG
eg1QJQ/+Lg3pS6lQlyO7wy2+DBpdcFdNUkcMZgBiy8qsE2JtuckmDdy5QMxg26kC
Qi+K6HSeigUnt2aUCokFI9XIBcoUnjhtKOVVU3u07QDCegt7/N8X79UHh7+PIUyU
0EsUx1xIxggHueZ8uDmz0ki5kTblJ4WMEUz3XTmGplDtNK0esMhcjyjKdWqWJjZD
8trdZgz202RMMBrsZdCxQwEshVjxm2xnd4QNz+C8JzLsd4eOVKGuZpqcMxLRWeGS
MYGPyH2JB9gTO2DhbmbgJiAFiCfzH0G+GPHMQXQGDWZmOoGKAu5GMdiyhShGH23g
aSogLigFHa3JpAr3GR3I/1b1ScGMMAPnh73tGhpdUeSEMkJgWSAipJdKvB8KLRys
SOc7pL3PlzrWs/dXXY8+l2KcLbx3/EQjtNV/l/t4nmH1NDcwJVfmpTum01hFpNd7
bYYbhN6aVbKl1hpHpTQjml/Y6oN3hYIWk8woRwMaiYXji7heA87zKYAFBUsDDkzy
rpujbNrM1XTM03HgHcnx9BWFgdZKvB1knMfivrsm+mf9Ot58/gkcRrtAedxtcIJf
qxf4HznhWrvZQdUf0ZBmScoIZZysuY9zjjkPkBGmxocD1DvEW/7jz4bGDPpGarXd
Q9ABdLMUJuxtGzfmm8Nxlm+DVF3I107B1T6DzRaCQXcB9KpVvmk=
=Os2L
-----END PGP SIGNATURE-----

L
L
Leo Famulari wrote on 1 Mar 2017 13:46
(name . Kei Kebreau)(address . kei@openmailbox.org)
20170301214655.GA22536@jasmine
On Wed, Mar 01, 2017 at 01:05:20PM -0500, Kei Kebreau wrote:
Toggle quote (8 lines)
> pjotr.public12@thebird.nl writes:
>
> > From: Pjotr Prins <pjotr.public01@thebird.nl>
> >
> > * gnu/packages/networking.scm (speedtest-cli): New variable.

> LGTM!

Feel free to push :)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAli3QU8ACgkQJkb6MLrK
fwjwug/+PYHKb4jJUtPkHC5f8fEWQ902vd8sxKowtrCrUlKgzNitNyir1/DsQCag
N3aJIUKbft23kzAThf6NlggzQh2LAg8vg18bC9Q2xNBeogKjWjvFS/TIVP6gWqjx
0LDioGlPk5C6Yc6K4NmE+N+iyF+oZmm6P+8TKbwRuqUVMP4tVgyfCpRZ1uU2Yt9n
Tvk9dmJ0UtesJe0hd1JgorVM+ppDIzpE75qu35CwYFtsscnbggAvIW2Q1qNRor7g
rPwqq0Mv09DLU9NLCLk2yK3QeiClslFnSDO2VxO1uSwtqp7dLyxgrIHudElOP4bo
BCvGqN4XlNrPzsfz1uFeNl7JdeAi12052q4nkfcZpo4r3v3docSMiQdHciEFrbYp
eU7k8NNJcyujUi65F3uD8b2cFdL/oKEYVvaIX0d4Ck2zXBP56OZQ8IgLAWNfuzwE
aEsTQCT72O20lWg2BIjL2lB0AevamIJHlihB5y/uCQn+dCR1d2noVm6r+KJmKC8C
o4hzHNbX746LJTCX1TlCUB/0gywyZ3FV+32vg6bQH4R+H60sjS0z2yG+9nZI4P7S
gshvJj7cCKb/jYqwEha7+HNEoHTt/zNTLa5Ty9XLFYQyALn75fSeKrFXYEfldRyY
8WkRCUWo8mS+IkFIZs5VhRlFMO4d5JyU+2exIrcVnxWiwEVtOVc=
=3XUF
-----END PGP SIGNATURE-----


E
E
Efraim Flashner wrote on 2 Mar 2017 01:16
Re: [PATCH] gnu: Add speedtest-cli.
(address . pjotr.public12@thebird.nl)(address . 25878@debbugs.gnu.org)
20170302091610.GA7541@macbook42.flashner.co.il
On Sun, Feb 26, 2017 at 10:52:21AM +0000, pjotr.public12@thebird.nl wrote:
Toggle quote (44 lines)
> From: Pjotr Prins <pjotr.public01@thebird.nl>
>
> * gnu/packages/networking.scm (speedtest-cli): New variable.
> ---
> gnu/packages/networking.scm | 24 +++++++++++++++++++++++-
> 1 file changed, 23 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
> index a10fbfe..942ed39 100644
> --- a/gnu/packages/networking.scm
> +++ b/gnu/packages/networking.scm
> @@ -11,6 +11,7 @@
> ;;; Copyright © 2016, 2017 ng0 <ng0@libertad.pw>
> ;;; Copyright © 2016 Arun Isaac <arunisaac@systemreboot.net>
> ;;; Copyright © 2016 Benz Schenk <benz.schenk@uzh.ch>
> +;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -80,7 +81,7 @@
> (description "GNU MAC Changer is a utility for viewing and changing MAC
> addresses of networking devices. New addresses may be set explicitly or
> randomly. They can include MAC addresses of the same or other hardware vendors
> -or, more generally, MAC addresses of the same category of hardware.")
> +or, more generally, MAC addresses of the same category of hardware.")
> (license license:gpl2+)))
>
> (define-public miredo
> @@ -1119,3 +1120,24 @@ IPFIX, RSPAN, CLI, LACP, 802.1ag).")
> license:gpl2 ; datapath
> license:bsd-2 license:bsd-3
> license:asl2.0)))) ; all other
> +
> +(define-public speedtest-cli
> + (package
> + (name "speedtest-cli")
> + (version "1.0.2")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "https://github.com/sivel/speedtest-cli/archive/v" version ".tar.gz"))
> + (file-name (string-append name "-" version ".tar.gz"))

for my local copy I have it as (uri (pypi-uri "speedtest-cli" version))

Toggle quote (17 lines)
> + (sha256
> + (base32
> + "1ir9fqwr7cl9kfq7dgh9vkydkwf59wsx0cwbzbffw8i313xhzxa1"))))
> + (build-system python-build-system)
> + (home-page "https://github.com/sivel/speedtest-cli")
> + (synopsis "Internet bandwidth tester")
> + (description
> + "Command line interface for testing internet bandwidth using
> +speedtest.net.")
> + (license license:asl2.0)))
> --
> 2.8.4
>
>
>
>

--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkVdB/rIvpOM7bo+N9MHTkX6s7pMFAli34tkACgkQ9MHTkX6s
7pOv/A/+J7smzm2n1NxYtvYba0KxbSOo5FO+ChWuQuTxnD3+WJVHO9Sk/HgCGDRq
7+xpjQKId7gNga7VMN1ziZ5PpueQoaz/fsxjUuIAsRqAW5sPz0DRVg4BzAgE0+WO
yCljovnxKHL2tesYhOI0hPqkYJ4YXin/BpzMSaCUFJ8mH/7A5QIqH1L+jWgLvmW9
rV8JEKOzafFWuIr/Mqt5/zDLKxKIcrIO0u2j38b5wlScz4kcVD5f9qoAWvZtMNtp
vaDrqI9KOl0xp6Fmeijfwr5jGC67VB3F78wfkW5jVS2yuxqirlEptKNgC0FHHAES
e3jzIuBaBTydipG9jQZiO4BD8D/m8MhceysFdQX1Kg3hEljDxkkxn4h8yhUud8Ha
g8L1+Q2CTPIEI+oG55j1Kva+0nl9cjAVeKR0nRk9d1fKI4BFoQbnmb505O00eUz9
cCbZcg8SjNbtTXV3KSPr6YQnDM6+t1djfYbTCyxtHPwDN872kBivsz+LZbOZIDos
IVcPWdwR8CY890QVEQim2PFYYmBPjavFaVp1HNMOxG0N1B0gXrgoWHbuTeDNhl3d
OvwVrcDsEr7DsWmCBQIqzt+0pIccP3TCKzin+KwmfRmeme+lvgziGrWpVr5mAfTD
uNyH4YZZufCuQXjrsH1iys+2ZTCUTHAc4hZ3ra9ILY7ToUlffDQ=
=ydYv
-----END PGP SIGNATURE-----


K
K
Kei Kebreau wrote on 2 Mar 2017 10:29
Re: bug#25878: [PATCH] gnu: Add speedtest-cli.
(name . Efraim Flashner)(address . efraim@flashner.co.il)
8760jrjzvp.fsf@openmailbox.org
Efraim Flashner <efraim@flashner.co.il> writes:

Toggle quote (48 lines)
> On Sun, Feb 26, 2017 at 10:52:21AM +0000, pjotr.public12@thebird.nl wrote:
>> From: Pjotr Prins <pjotr.public01@thebird.nl>
>>
>> * gnu/packages/networking.scm (speedtest-cli): New variable.
>> ---
>> gnu/packages/networking.scm | 24 +++++++++++++++++++++++-
>> 1 file changed, 23 insertions(+), 1 deletion(-)
>>
>> diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
>> index a10fbfe..942ed39 100644
>> --- a/gnu/packages/networking.scm
>> +++ b/gnu/packages/networking.scm
>> @@ -11,6 +11,7 @@
>> ;;; Copyright © 2016, 2017 ng0 <ng0@libertad.pw>
>> ;;; Copyright © 2016 Arun Isaac <arunisaac@systemreboot.net>
>> ;;; Copyright © 2016 Benz Schenk <benz.schenk@uzh.ch>
>> +;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
>> ;;;
>> ;;; This file is part of GNU Guix.
>> ;;;
>> @@ -80,7 +81,7 @@
>> (description "GNU MAC Changer is a utility for viewing and changing MAC
>> addresses of networking devices. New addresses may be set explicitly or
>> randomly. They can include MAC addresses of the same or other hardware vendors
>> -or, more generally, MAC addresses of the same category of hardware.")
>> +or, more generally, MAC addresses of the same category of hardware.")
>> (license license:gpl2+)))
>>
>> (define-public miredo
>> @@ -1119,3 +1120,24 @@ IPFIX, RSPAN, CLI, LACP, 802.1ag).")
>> license:gpl2 ; datapath
>> license:bsd-2 license:bsd-3
>> license:asl2.0)))) ; all other
>> +
>> +(define-public speedtest-cli
>> + (package
>> + (name "speedtest-cli")
>> + (version "1.0.2")
>> + (source
>> + (origin
>> + (method url-fetch)
>> + (uri (string-append
>> + "https://github.com/sivel/speedtest-cli/archive/v" version ".tar.gz"))
>> + (file-name (string-append name "-" version ".tar.gz"))
>
> for my local copy I have it as (uri (pypi-uri "speedtest-cli" version))
>

I tried using this URI, but I get a 404 error.

Toggle quote (16 lines)
>> + (sha256
>> + (base32
>> + "1ir9fqwr7cl9kfq7dgh9vkydkwf59wsx0cwbzbffw8i313xhzxa1"))))
>> + (build-system python-build-system)
>> + (home-page "https://github.com/sivel/speedtest-cli")
>> + (synopsis "Internet bandwidth tester")
>> + (description
>> + "Command line interface for testing internet bandwidth using
>> +speedtest.net.")
>> + (license license:asl2.0)))
>> --
>> 2.8.4
>>
>>
>>
>>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAli4ZJoACgkQ5qXuPBlG
eg3eJRAAkg87g+nLOpWuspR+mqH8k7l4GbsQlOYCiLiPO39YlttvHdiXZGyBNCQD
CwvZlrN48DS3M0ULuxOdL55D4G6yhtCkJdbDQcFQkVRqOcO9ypC5YEuDN7yFIXm8
DT1ilzf0V3k9bv7o8jTxP3s1kNoybaRgIYupgHwwkGyZv8znhcd+7aPi09nAXZv6
4N8L1U9FCAmbNhHrVnfXPUGxQVX5inYkAhHxeycq6AcEn1DXxFdvzZnee0g5klRr
lIlWQiRfov76nBJc9RizdXgZAZYI3cwNY+tKmNHzgeB73s2xi2ubP16oUzd6zHcb
sBzbgs1m32pon3Xow+4kfibGAo891y3fO9xWWtR4jStRJtXHiCpNOUVJ5i8I0HGm
3H8mebuh5JguZ4yPXRFjfa8fMFmb3dFoI0zdAsR8GCg0xdPx/IjXIeGEokSRdY1y
Fc2StzdWBFFX7VbPrNPy//82+mDQ5nk0nQc56T6TB1cYhoq7cpwrNag3WPuWn1NJ
I/WH5okRJQcP6dXBQf58gzG1kJEewKf4nC2L/nZOp1o2RILvp/6dkyz784bjZwn8
VsvzDYkvfTwfDbK48GX4TXRkA5iY6e1B4fKoMrdN+/XMO3i+irIQ/i/3+1AENTde
o6AwSVkz+ZySMourD2GYK9Iur5vuCJQ3NrxOjhLQEoTO+VV6yBM=
=5ly5
-----END PGP SIGNATURE-----

K
K
Kei Kebreau wrote on 2 Mar 2017 10:32
(name . Leo Famulari)(address . leo@famulari.name)
8737evjzqv.fsf@openmailbox.org
Leo Famulari <leo@famulari.name> writes:

Toggle quote (11 lines)
> On Wed, Mar 01, 2017 at 01:05:20PM -0500, Kei Kebreau wrote:
>> pjotr.public12@thebird.nl writes:
>>
>> > From: Pjotr Prins <pjotr.public01@thebird.nl>
>> >
>> > * gnu/packages/networking.scm (speedtest-cli): New variable.
>
>> LGTM!
>
> Feel free to push :)

Oh, I thought Pjotr had the ability to push to the repo. :-P

Pushed as 38510546d9bfdd3d3c72b9039e6a048b1cb66199.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAli4ZUgACgkQ5qXuPBlG
eg33/Q//RMxHs9PKxNpowQrc/HPWuXiWU9NUxbzr2dpAU0LpfOUuRGqWi5s0FsaB
bIS6BuDE3jQqAStCRgPm0oQOI8eiOtyunHC9ORbB6fel4QIipL4Uo0Ahc7suGYhC
gIbxg4Hv7reQH5UeB+GTJpyOhULmEwlU4StbPnFeTlTHLHXPZUnUTGTf1Ylkf6h7
A3K8n9b2vgzJtXNfoqTotIX42iX4orW8bX7jdmVIKD1gOnQTt3PVDxwVJS9L0mS0
vhnr0jUvZKeYad0Tw/jbtKnoPBMBmOJNSS6IfTZyHpIba3GLDMb+ZFiTfjNYbc9u
f3EoaTICmYASNHqkDDck3I3f6FLuDeWHHdbLm44uGgyetBBIcn9n88ReprSpleN2
+CJRZYMup4L1TmNYvOm8QZC5QluX6zg8EvNvnxDUGtRxlqrak68V8AKuQDqGCWDq
AwjeizrTlrHLA71dajY7m9CgER4BBabMovsSG08Z/GjA8AbOyCj2AhIPhLwabKjV
N3+Iiia6TbYzjVJ0Jh70fkF5wDGGBQgi40RrrCv1KQ4gGwkM6w5BU4LVJuaBpbLf
z5LJRTBw4aDjMTkpUWDBF+GVlsmobDGgVPiTyP0Mvhyp1nKrvJPj2Tq00aLB4iZm
UcyYMSNO++wpoX2UlwEsNQhncsN6JVexQzNUl3+Qb/CZmu/Lsc0=
=3gcy
-----END PGP SIGNATURE-----

R
R
Ricardo Wurmus wrote on 2 Mar 2017 23:06
control message for bug #25878
(address . control@debbugs.gnu.org)
E1cjhIJ-00019K-G4@debbugs.gnu.org
tags 25878 fixed
close 25878
?
Your comment

This issue is archived.

To comment on this conversation send an email to 25878@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 25878
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch