GNU bug report logs -
#25878
[PATCH] gnu: Add speedtest-cli.
Previous Next
Reported by: pjotr.public12 <at> thebird.nl
Date: Sun, 26 Feb 2017 10:57:02 UTC
Severity: normal
Tags: fixed, patch
Done: Ricardo Wurmus <rekado <at> elephly.net>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 25878 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Efraim Flashner <efraim <at> flashner.co.il> writes:
> On Sun, Feb 26, 2017 at 10:52:21AM +0000, pjotr.public12 <at> thebird.nl wrote:
>> From: Pjotr Prins <pjotr.public01 <at> 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 <at> libertad.pw>
>> ;;; Copyright © 2016 Arun Isaac <arunisaac <at> systemreboot.net>
>> ;;; Copyright © 2016 Benz Schenk <benz.schenk <at> uzh.ch>
>> +;;; Copyright © 2016 Pjotr Prins <pjotr.guix <at> 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.
>> + (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
>>
>>
>>
>>
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 8 years and 139 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.