From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2NsqJhbNtGP/dAAAbAwnHQ (envelope-from ) for ; Wed, 04 Jan 2023 01:49:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ODMFJhbNtGNo4gAAauVa8A (envelope-from ) for ; Wed, 04 Jan 2023 01:49:26 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 41E7C1834D for ; Wed, 4 Jan 2023 01:49:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pCrxp-0000YQ-5C; Tue, 03 Jan 2023 19:49:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCrxm-0000Xu-TT for guix-patches@gnu.org; Tue, 03 Jan 2023 19:49:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pCrxm-0004jA-Kb for guix-patches@gnu.org; Tue, 03 Jan 2023 19:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pCrxm-000825-3u for guix-patches@gnu.org; Tue, 03 Jan 2023 19:49:02 -0500 Subject: bug#52094: [PATCH] gnu: Add speedometer. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 04 Jan 2023 00:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 52094 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Foo Chuan Wei Cc: 52094-done@debbugs.gnu.org Mail-Followup-To: 52094@debbugs.gnu.org, maxim.cournoyer@gmail.com, chuanwei.foo@hotmail.com Received: via spool by 52094-done@debbugs.gnu.org id=D52094.167279330630826 (code D ref 52094); Wed, 04 Jan 2023 00:49:01 +0000 Received: (at 52094-done) by debbugs.gnu.org; 4 Jan 2023 00:48:26 +0000 Received: from localhost ([127.0.0.1]:47144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCrxB-000817-OY for submit@debbugs.gnu.org; Tue, 03 Jan 2023 19:48:26 -0500 Received: from mail-qt1-f182.google.com ([209.85.160.182]:45963) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCrx7-00080S-PT for 52094-done@debbugs.gnu.org; Tue, 03 Jan 2023 19:48:24 -0500 Received: by mail-qt1-f182.google.com with SMTP id h21so26117277qta.12 for <52094-done@debbugs.gnu.org>; Tue, 03 Jan 2023 16:48:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:cc:references:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=5Q48S+TG6Cuy8BTFkbkORddmaj2XfJpu87wjKgYGRG4=; b=FYJa9adoGE1OARVbXZBBr0fMSZvJCMfq0ITnfN/D/YraS7LReGsjcifNzoLeitckUs no2D6+RxU8+qrlSiJhttzu7KZvhG8TztWMEhr246vki5eej4K9KGrBOLRw6aHHKTXyfh ZOJ+o9k4LXWRC4OG7BYuT1DBzxrEqgmzXFjWz7bGWwX7P8tWGU3vANM6iYb8nl/2+SQd MnPd7I/O1SXHbs+2TGzqjsld0LSU0Jm32jokYDYwLMSyC8QaK3xd5xNXmZ6S/R+7ZoOp RUXnaXBCgk+h68BhIWi6dvKRPOeGgeL3b0uKpsW7VdIiMKNigsG5EucWmr2aGAR5UUrG vE5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:cc:references:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5Q48S+TG6Cuy8BTFkbkORddmaj2XfJpu87wjKgYGRG4=; b=dqrvH5BWHqYdIhRw6KZHf2dHoIg3YVqIdwDFjwbL/AelOn8NuGjG/w3+pgvI7pPAVC VvAUPXfWnXvkHj55rJHPcTJljVyP7pU1Pk60lTtdKINiDlqjOTGrQ1M9LyC+NIWEnmR7 iqRIJkSBnSNKoijELFVunbwullK4Xug2/E53VYKUdlLovtoUWkiXaYfqz1dv6bCu65oZ qGEHqiXoLj1fB4wsirG4evHX8MC+NP3mvkHRasTr/sGt06iPp/HUW5zZmZMMHAsMSqaK /i2yl+ZwOi5Pt6gmoyBiTGtUPcS5hRrNozDMFwHB5/KxktSJbMzeprZae179LcBNHrmY OL8Q== X-Gm-Message-State: AFqh2kpTkgKjw4VO6KMuZrYYyp2woIO5KjHNXbbwaQQReZsDTSLHwwab pLq4bKdS2HZY3mzm1uLzWD1B7Lv1B1jkWuwy X-Google-Smtp-Source: AMrXdXu80W9Cw19a7KvwmWjtMTGTGlcpYxTuHhiWwvG6sdqDhfpHT8cBX4P0NGT67AHPfw/ayX0vGg== X-Received: by 2002:a05:622a:2612:b0:3a8:3058:db43 with SMTP id ci18-20020a05622a261200b003a83058db43mr72209941qtb.57.1672793295931; Tue, 03 Jan 2023 16:48:15 -0800 (PST) Received: from hurd (dsl-10-135-221.b2b2c.ca. [72.10.135.221]) by smtp.gmail.com with ESMTPSA id m18-20020ac86892000000b003a5c6ad428asm19542000qtq.92.2023.01.03.16.48.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jan 2023 16:48:15 -0800 (PST) From: Maxim Cournoyer References: Date: Tue, 03 Jan 2023 19:48:14 -0500 In-Reply-To: (Foo Chuan Wei's message of "Thu, 25 Nov 2021 08:56:53 +0000") Message-ID: <877cy3xgz5.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672793366; a=rsa-sha256; cv=none; b=gbk8x4zXG6IeQ8eOelogL0Cxp5/rNIASKw2rcmlKPtmrhxJAMQcogeVnxPnSB/vKLhhy6d 8cOG/BS6eZefDhmpXfAaOJ1dCAdU1oELhXhDFn7WctJMQE3EhNFr9okewlVLhUmIvn1/3I c1WJKX36+EmCuJZU/hGWLdk9lx6Af+Sb6/fGQCgkzryOIxcV/PdwT4iC3EBC2qNpINW547 bsTWPn6V2O1xtdc4vvEfIICgVk2r+J0K4/rbrHU1Dj2q/8qofYXPTbIwmyKj/yW6jGro96 Vl6EpPX0ySkROTdqMZSY79YcnoiVOOV18DM7YWpZekQNFxE0nkvTb9j+lQgDsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FYJa9ado; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672793366; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5Q48S+TG6Cuy8BTFkbkORddmaj2XfJpu87wjKgYGRG4=; b=tP+Ko+qbUYkSjMEt5klJrctZ0av9hmmOZRCg6cHUtrlR5YsZG/4WGMMsX+RAMYO1cAojrL f5sxxpiR+yYQzwZOfBAwE88g7kHtXrG4LkV80CwZnb2NzbIMGOfjdT/ad1ih+VRKNa3RZ7 jCkCqCxfZvV1kN7XVt2nvXi0lmjLnUD51D/Rhalq7mXJpjRFY5qpvHU/zLBkpo+J7dIS16 mQr9RsiApwc1pHS+EW9dqLmaEESQGmY9tHNkxXoR1PmzL1CukM/nT81KvJZhdFtYGy5GWL y0W8onuYb7ivSvNQExVQ7geCSUX1s/05ECijHCCDANLHkoQ76aMvxMP6KZpHuA== X-Spam-Score: -2.26 X-Migadu-Queue-Id: 41E7C1834D Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FYJa9ado; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.26 X-TUID: +Nc35JFZ3IIQ Hi, Foo Chuan Wei 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 =C2=A9 2021 Justin Veilleux > ;;; Copyright =C2=A9 2021 Vinicius Monego > ;;; Copyright =C2=A9 2021 Milkey Mouse > +;;; Copyright =C2=A9 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+))) >=20=20 > +(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