From patchwork Thu Nov 25 08:56:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Foo Chuan Wei X-Patchwork-Id: 34803 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9A3DE27BBEA; Thu, 25 Nov 2021 08:58:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3164A27BBE9 for ; Thu, 25 Nov 2021 08:58:16 +0000 (GMT) Received: from localhost ([::1]:49074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqAa6-0000DO-SZ for patchwork@mira.cbaines.net; Thu, 25 Nov 2021 03:58:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqAZu-0000B6-L2 for guix-patches@gnu.org; Thu, 25 Nov 2021 03:58:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44159) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqAZu-0007IP-CO for guix-patches@gnu.org; Thu, 25 Nov 2021 03:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mqAZu-0004Vi-5H for guix-patches@gnu.org; Thu, 25 Nov 2021 03:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52094] [PATCH] gnu: Add speedometer. Resent-From: Foo Chuan Wei Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Nov 2021 08:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52094@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163783063417269 (code B ref -1); Thu, 25 Nov 2021 08:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Nov 2021 08:57:14 +0000 Received: from localhost ([127.0.0.1]:55702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqAZ3-0004UP-KH for submit@debbugs.gnu.org; Thu, 25 Nov 2021 03:57:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:48750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqAYz-0004UE-38 for submit@debbugs.gnu.org; Thu, 25 Nov 2021 03:57:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqAYy-0007Fk-RG for guix-patches@gnu.org; Thu, 25 Nov 2021 03:57:04 -0500 Received: from mail-oln040092255106.outbound.protection.outlook.com ([40.92.255.106]:12855 helo=APC01-HK2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqAYv-00079n-ES for guix-patches@gnu.org; Thu, 25 Nov 2021 03:57:04 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SY0P6j6j8olS8UO/Q+7QdKHbptghwDiu+CmdmVNA4FgKBUs4BQdLzRyQT2t1ioTbFs13evee3WJrzC1AgWTHJgNlbMXKBibys/bk/lSVPPg5Y08osltawKJLKFOi9xlOgvfmSBGGAHbTJ2dGP1xaigxlPE+ckbv1Grfl7kLDLUhVSjv/UtXKgySn+xaEUYdmKElMjc8/OsYboYhJ+LhU69X3yDdQh/jsD/wipM53TRzn+j+247p0qmjwnEq3LC0aYA65UQGcZNykev2G6We5NkyJglOcEWBU0QIfUfQ9xrGY9QHbw3uITb6AGPyRWzG/mg6sXCrcKAQab2jd//ep+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=RuCjYi3++tTU1oL6d7atZkAN8iifRGV2Shz3vHfxvAM=; b=PausE/eWkWnWHMt0wIq7d4pN2aCNXaHv7XPVgZxQY1FVnr/a9vQL8HYh3SyNv8s9OJyGo1TpFgxyfx+0/AFNw2YbHXIl3OqsMElC1nCTbDTSAj//wbcyBNu6tS1ggyu2AEBei6pstolrIlkf8+T3MqSQnurFRsV/JwPz/1kVpfTMBMx7cqD7nLTdnRtP4JIUfv9D2k/y9mVCjbrvm2KkfoMOAzZTMFdTuMfQica69I0TkBPQd5Y1bjto9d/+9nBiy4xisP6nJNjcjMzO9O0MsadBE0NJooUz+NtM304NOPY10Ph6PBal4x8ulJ2F1tbqILw7/WsRV/e/be1fYq19HA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RuCjYi3++tTU1oL6d7atZkAN8iifRGV2Shz3vHfxvAM=; b=MA7MpNqNIv69piSHkaUy53WkobzaVpcNvBEc7FmyCv1U1CYH10LG1goCBCTu4aoytTNAvE7VaiToPLzyzEixasBfzT3jQ1NiLZFSSe2x0ncU7JOvAEt5PKRyl4ErpE+A85Noi0gGYoYr5W1AZKDdO58SLvId5xoKu4iU2j6EfB0F6RlkYlu+ZRgpZPj1FP1Vm1agvCccZqidqHED2Hhzv4ePq5gSQVqWBncFWF4gURp0GRiTmKeU4VeRBtRZPundoDPUMkRFKZSIiveJygjacLKjJNRFtf1moKUQCgMJ7BnhDjg1f8LDprZv3CEbG0WEk2otPQ3gqtgELAyJQT+beA== Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) by PS2PR01MB2182.apcprd01.prod.exchangelabs.com (2603:1096:300:37::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.20; Thu, 25 Nov 2021 08:56:56 +0000 Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::258d:e124:fd3a:40ee]) by PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::258d:e124:fd3a:40ee%7]) with mapi id 15.20.4713.027; Thu, 25 Nov 2021 08:56:56 +0000 Date: Thu, 25 Nov 2021 08:56:53 +0000 From: Foo Chuan Wei Message-ID: Mail-Followup-To: guix-patches@gnu.org Content-Disposition: inline X-TMN: [4nicivv48ff9hjbwfBsnklsONALxIYaD] X-ClientProxiedBy: HK2PR03CA0060.apcprd03.prod.outlook.com (2603:1096:202:17::30) To PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) X-Microsoft-Original-Message-ID: <20211125085653.dchfpg2rpszm6hyc@main> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from main (202.160.36.38) by HK2PR03CA0060.apcprd03.prod.outlook.com (2603:1096:202:17::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.7 via Frontend Transport; Thu, 25 Nov 2021 08:56:55 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ed47a48b-8230-4963-65fb-08d9aff18841 X-MS-TrafficTypeDiagnostic: PS2PR01MB2182: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l7kBwR4aDKC2vGFU5Uc1QidZ9lDBc/uOspe4j7NJozC9Ry+0Oj1okVP/bHLLZKYaGjEw0+p8JKNY7DlTrpnqdLJ9J72NnRFuJ5MRId3MFhpCr4zg1M8usTMZqT6W7dveImDGgBO2694ANTt5bNK1D/WLR/0ZhxoQ97jCUI7qZR+mae+fcyiJM74EPCGAH+0Kg1QAY6EhH/70CGS7ZdFwqQuhWEldADTcjzrYieZWiAOsViX9zPnvOM06pt2POUqeH73yw8Xh3NTY2AyceJsX2mOFI2UrVODQA0KiL9uvSVGVgKxQTy/TnaCM2kU0UQibTHLWqAtbGLfAE0NkUg2PceNk9KWMwRJ8JnuYrivV1O/KSfPdusqeDz3crvKk+FLtGT2+YaoIYLMa0WqQU9yK7danYOSE4cgUCgVYH95mh4voxdiLhrUD9XL6oxM98VDYzQonLP+Qtmbbh1EQrFBLY9/eBprD4ImDdq1npXTR5BOI83buzm01nJSURMTS902k/boc3f8DncFm5RzgC2LbyywDPqzybPrz8bkqZvmzNhRDvjh609Aqd8ZMm+9BjxrkHhX2sCuBAFK5Nb3Mu6eKaLmP00FI/a/tXew2Ip+nWjvAFOZEibIic3VQVq11pOqd X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: g6ghnZWgkIJ4GIRWyIXSa1oL8AZkZJhrF25w8G21EZOAVtLcvyd5hx6olwyzN40Cbq2RNNQB8PC/sctLiNui6mUfQHLvDIM1Hgl6X3QOXdSum8GVT56YMVDucZ/qZdHyWIypsQjRcqiZL8LWCmkpj2aqAbLtDIcbIWESAyYhgS5yYqrq07v/22NeU/out/Jt/McIAZ3eFl1shfyCjlpAnvbV4Ro7d9IUDdVMxPuJ4WZ6EuktUDlY/hQeHPw8TvNY5qgeRE2zIQ+OI6ixZoYIH0mD4FwRpEMKf+9bHJkFU7Oppnc52Z8cmI5GdEkST1D2K+a0t6Und2sm5J43iapr7pVwHmWMa0Qp1o8xeOdIiFZP/9Dc7kZDBDQ2IFo0ntY9/jzA/rpV/doyZb0RPSa0zjjHi/5/9bp2EGpq/gfKgeB96brtNiMTyYV1vdiJ60BtApPfOgYVNyhWDOG1COxWhuBnCFZkZeWi2EO3hvztDyQsMYPxIoimzcocDSUhjHZv1hnvT8i0M9tuI/DPSHAJ7foDc9Rcf0KWOP519YUwPyp9P45keG07SKGjF/WDJypo6JYdqN/p+PRjLUAAN1O4Ye6s324SMCjLpZb/AM7vLL4wAFql9DIEJzBBW2+mpcjlwSWeZHdb8XNtMbD9UdkDL2v2ETIhZzgycfI9nj/fhQ//34o/prCfLXtL3T3ucW8vZe3lKkXwwNrlNfxFCt5ajA== X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-5c337.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: ed47a48b-8230-4963-65fb-08d9aff18841 X-MS-Exchange-CrossTenant-AuthSource: PU1PR01MB2155.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Nov 2021 08:56:56.0290 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS2PR01MB2182 Received-SPF: pass client-ip=40.92.255.106; envelope-from=chuanwei.foo@hotmail.com; helo=APC01-HK2-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/networking.scm (speedometer): New variable. --- gnu/packages/networking.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) base-commit: 4fd6aabeaabae9184407276f3ae2436284bbcf63 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 ;;; Copyright © 2021 Vinicius Monego ;;; Copyright © 2021 Milkey Mouse +;;; Copyright © 2021 Foo Chuan Wei ;;; ;;; 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")