[PATCH] gnu: Add speedtest-cli.

DoneSubmitted by pjotr.public12.
Details
5 participants
  • Efraim Flashner
  • Kei Kebreau
  • Leo Famulari
  • pjotr.public12
  • Ricardo Wurmus
Owner
unassigned
Severity
normal
P
P
pjotr.public12 wrote on 26 Feb 2017 11: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.scmindex 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 19: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-----
iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAli3DWAACgkQ5qXuPBlGeg1QJQ/+Lg3pS6lQlyO7wy2+DBpdcFdNUkcMZgBiy8qsE2JtuckmDdy5QMxg26kCQi+K6HSeigUnt2aUCokFI9XIBcoUnjhtKOVVU3u07QDCegt7/N8X79UHh7+PIUyU0EsUx1xIxggHueZ8uDmz0ki5kTblJ4WMEUz3XTmGplDtNK0esMhcjyjKdWqWJjZD8trdZgz202RMMBrsZdCxQwEshVjxm2xnd4QNz+C8JzLsd4eOVKGuZpqcMxLRWeGSMYGPyH2JB9gTO2DhbmbgJiAFiCfzH0G+GPHMQXQGDWZmOoGKAu5GMdiyhShGH23gaSogLigFHa3JpAr3GR3I/1b1ScGMMAPnh73tGhpdUeSEMkJgWSAipJdKvB8KLRysSOc7pL3PlzrWs/dXXY8+l2KcLbx3/EQjtNV/l/t4nmH1NDcwJVfmpTum01hFpNd7bYYbhN6aVbKl1hpHpTQjml/Y6oN3hYIWk8woRwMaiYXji7heA87zKYAFBUsDDkzyrpujbNrM1XTM03HgHcnx9BWFgdZKvB1knMfivrsm+mf9Ot58/gkcRrtAedxtcIJfqxf4HznhWrvZQdUf0ZBmScoIZZysuY9zjjkPkBGmxocD1DvEW/7jz4bGDPpGarXdQ9ABdLMUJuxtGzfmm8Nxlm+DVF3I107B1T6DzRaCQXcB9KpVvmk==Os2L-----END PGP SIGNATURE-----
L
L
Leo Famulari wrote on 1 Mar 2017 22: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-----
iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAli3QU8ACgkQJkb6MLrKfwjwug/+PYHKb4jJUtPkHC5f8fEWQ902vd8sxKowtrCrUlKgzNitNyir1/DsQCagN3aJIUKbft23kzAThf6NlggzQh2LAg8vg18bC9Q2xNBeogKjWjvFS/TIVP6gWqjx0LDioGlPk5C6Yc6K4NmE+N+iyF+oZmm6P+8TKbwRuqUVMP4tVgyfCpRZ1uU2Yt9nTvk9dmJ0UtesJe0hd1JgorVM+ppDIzpE75qu35CwYFtsscnbggAvIW2Q1qNRor7grPwqq0Mv09DLU9NLCLk2yK3QeiClslFnSDO2VxO1uSwtqp7dLyxgrIHudElOP4boBCvGqN4XlNrPzsfz1uFeNl7JdeAi12052q4nkfcZpo4r3v3docSMiQdHciEFrbYpeU7k8NNJcyujUi65F3uD8b2cFdL/oKEYVvaIX0d4Ck2zXBP56OZQ8IgLAWNfuzwEaEsTQCT72O20lWg2BIjL2lB0AevamIJHlihB5y/uCQn+dCR1d2noVm6r+KJmKC8Co4hzHNbX746LJTCX1TlCUB/0gywyZ3FV+32vg6bQH4R+H60sjS0z2yG+9nZI4P7SgshvJj7cCKb/jYqwEha7+HNEoHTt/zNTLa5Ty9XLFYQyALn75fSeKrFXYEfldRyY8WkRCUWo8mS+IkFIZs5VhRlFMO4d5JyU+2exIrcVnxWiwEVtOVc==3XUF-----END PGP SIGNATURE-----

E
E
Efraim Flashner wrote on 2 Mar 2017 10: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 8351Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEkVdB/rIvpOM7bo+N9MHTkX6s7pMFAli34tkACgkQ9MHTkX6s7pOv/A/+J7smzm2n1NxYtvYba0KxbSOo5FO+ChWuQuTxnD3+WJVHO9Sk/HgCGDRq7+xpjQKId7gNga7VMN1ziZ5PpueQoaz/fsxjUuIAsRqAW5sPz0DRVg4BzAgE0+WOyCljovnxKHL2tesYhOI0hPqkYJ4YXin/BpzMSaCUFJ8mH/7A5QIqH1L+jWgLvmW9rV8JEKOzafFWuIr/Mqt5/zDLKxKIcrIO0u2j38b5wlScz4kcVD5f9qoAWvZtMNtpvaDrqI9KOl0xp6Fmeijfwr5jGC67VB3F78wfkW5jVS2yuxqirlEptKNgC0FHHAESe3jzIuBaBTydipG9jQZiO4BD8D/m8MhceysFdQX1Kg3hEljDxkkxn4h8yhUud8Hag8L1+Q2CTPIEI+oG55j1Kva+0nl9cjAVeKR0nRk9d1fKI4BFoQbnmb505O00eUz9cCbZcg8SjNbtTXV3KSPr6YQnDM6+t1djfYbTCyxtHPwDN872kBivsz+LZbOZIDosIVcPWdwR8CY890QVEQim2PFYYmBPjavFaVp1HNMOxG0N1B0gXrgoWHbuTeDNhl3dOvwVrcDsEr7DsWmCBQIqzt+0pIccP3TCKzin+KwmfRmeme+lvgziGrWpVr5mAfTDuNyH4YZZufCuQXjrsH1iys+2ZTCUTHAc4hZ3ra9ILY7ToUlffDQ==ydYv-----END PGP SIGNATURE-----

K
K
Kei Kebreau wrote on 2 Mar 2017 19: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-----
iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAli4ZJoACgkQ5qXuPBlGeg3eJRAAkg87g+nLOpWuspR+mqH8k7l4GbsQlOYCiLiPO39YlttvHdiXZGyBNCQDCwvZlrN48DS3M0ULuxOdL55D4G6yhtCkJdbDQcFQkVRqOcO9ypC5YEuDN7yFIXm8DT1ilzf0V3k9bv7o8jTxP3s1kNoybaRgIYupgHwwkGyZv8znhcd+7aPi09nAXZv64N8L1U9FCAmbNhHrVnfXPUGxQVX5inYkAhHxeycq6AcEn1DXxFdvzZnee0g5klRrlIlWQiRfov76nBJc9RizdXgZAZYI3cwNY+tKmNHzgeB73s2xi2ubP16oUzd6zHcbsBzbgs1m32pon3Xow+4kfibGAo891y3fO9xWWtR4jStRJtXHiCpNOUVJ5i8I0HGm3H8mebuh5JguZ4yPXRFjfa8fMFmb3dFoI0zdAsR8GCg0xdPx/IjXIeGEokSRdY1yFc2StzdWBFFX7VbPrNPy//82+mDQ5nk0nQc56T6TB1cYhoq7cpwrNag3WPuWn1NJI/WH5okRJQcP6dXBQf58gzG1kJEewKf4nC2L/nZOp1o2RILvp/6dkyz784bjZwn8VsvzDYkvfTwfDbK48GX4TXRkA5iY6e1B4fKoMrdN+/XMO3i+irIQ/i/3+1AENTdeo6AwSVkz+ZySMourD2GYK9Iur5vuCJQ3NrxOjhLQEoTO+VV6yBM==5ly5-----END PGP SIGNATURE-----
K
K
Kei Kebreau wrote on 2 Mar 2017 19: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-----
iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAli4ZUgACgkQ5qXuPBlGeg33/Q//RMxHs9PKxNpowQrc/HPWuXiWU9NUxbzr2dpAU0LpfOUuRGqWi5s0FsaBbIS6BuDE3jQqAStCRgPm0oQOI8eiOtyunHC9ORbB6fel4QIipL4Uo0Ahc7suGYhCgIbxg4Hv7reQH5UeB+GTJpyOhULmEwlU4StbPnFeTlTHLHXPZUnUTGTf1Ylkf6h7A3K8n9b2vgzJtXNfoqTotIX42iX4orW8bX7jdmVIKD1gOnQTt3PVDxwVJS9L0mS0vhnr0jUvZKeYad0Tw/jbtKnoPBMBmOJNSS6IfTZyHpIba3GLDMb+ZFiTfjNYbc9uf3EoaTICmYASNHqkDDck3I3f6FLuDeWHHdbLm44uGgyetBBIcn9n88ReprSpleN2+CJRZYMup4L1TmNYvOm8QZC5QluX6zg8EvNvnxDUGtRxlqrak68V8AKuQDqGCWDqAwjeizrTlrHLA71dajY7m9CgER4BBabMovsSG08Z/GjA8AbOyCj2AhIPhLwabKjVN3+Iiia6TbYzjVJ0Jh70fkF5wDGGBQgi40RrrCv1KQ4gGwkM6w5BU4LVJuaBpbLfz5LJRTBw4aDjMTkpUWDBF+GVlsmobDGgVPiTyP0Mvhyp1nKrvJPj2Tq00aLB4iZmUcyYMSNO++wpoX2UlwEsNQhncsN6JVexQzNUl3+Qb/CZmu/Lsc0==3gcy-----END PGP SIGNATURE-----
R
R
Ricardo Wurmus wrote on 3 Mar 2017 08:06
control message for bug #25878
(address . control@debbugs.gnu.org)
E1cjhIJ-00019K-G4@debbugs.gnu.org
tags 25878 fixedclose 25878
?
Your comment

This issue is archived.

To comment on this conversation send email to 25878@debbugs.gnu.org