GNU bug report logs - #73606
[PATCH] gnu: Add nettop.

Previous Next

Package: guix-patches;

Reported by: Greg Hogan <code <at> greghogan.com>

Date: Wed, 2 Oct 2024 20:48:02 UTC

Severity: normal

Tags: patch

Done: Greg Hogan <code <at> greghogan.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73606 in the body.
You can then email your comments to 73606 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#73606; Package guix-patches. (Wed, 02 Oct 2024 20:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Greg Hogan <code <at> greghogan.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 02 Oct 2024 20:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Greg Hogan <code <at> greghogan.com>
To: guix-patches <at> gnu.org
Cc: Greg Hogan <code <at> greghogan.com>
Subject: [PATCH] gnu: Add nettop.
Date: Wed,  2 Oct 2024 20:47:14 +0000
* gnu/packages/admin.scm (nettop): New variable.

Change-Id: If4d39d89265dfb568ccf98033ac8e4195bc4c025
---
 gnu/packages/admin.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 5c1b063d26..41abd5cd33 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -3309,6 +3309,45 @@ (define-public iftop
     (home-page "http://www.ex-parrot.com/~pdw/iftop/")
     (license license:gpl2+)))
 
+(define-public nettop
+  (let ((revision "0")
+        (commit "689d6557196e9fcc92cffba82e00fac0386419e5"))
+    (package
+      (name "nettop")
+      (version (git-version "0.5" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Emanem/nettop")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0f6qkj4p4c0gap16ncnhkm802vi6dr7z9rjfz7gzvzhm7jg08aj8"))
+         (modules '((guix build utils)))
+         (snippet
+          #~(begin
+             (substitute* "Makefile"
+               (("-lcurses" _) "-lncurses"))))))
+      (build-system gnu-build-system)
+      (arguments
+       (list
+        #:tests? #f                     ; no make check
+        #:make-flags #~(list "release")
+        #:phases
+        #~(modify-phases %standard-phases
+            (delete 'configure)         ; no configure script
+            (replace 'install           ; no install target
+              (lambda _
+                (let ((out (string-append #$output "/bin")))
+                 (install-file "nettop" out)))))))
+      (inputs (list libpcap ncurses))
+      (synopsis "Monitor network usage by process and host")
+      (description "nettop is a traffic visualizer for the terminal that
+summarizes network bandwidth by process and remote host.")
+      (home-page "https://github.com/Emanem/nettop")
+      (license license:gpl3+))))
+
 (define-public munge
   (package
     (name "munge")

base-commit: 6590f5c5cd30c4dcdb4309b1a7884cd9d0a4ae4d
-- 
2.46.1





Reply sent to Greg Hogan <code <at> greghogan.com>:
You have taken responsibility. (Fri, 07 Mar 2025 20:43:02 GMT) Full text and rfc822 format available.

Notification sent to Greg Hogan <code <at> greghogan.com>:
bug acknowledged by developer. (Fri, 07 Mar 2025 20:43:03 GMT) Full text and rfc822 format available.

Message #10 received at 73606-done <at> debbugs.gnu.org (full text, mbox):

From: Greg Hogan <code <at> greghogan.com>
To: 73606-done <at> debbugs.gnu.org
Subject: Re: bug#73606: Acknowledgement ([PATCH] gnu: Add nettop.)
Date: Fri, 7 Mar 2025 15:42:41 -0500
On Wed, Oct 2, 2024 at 4:48 PM GNU bug Tracking System
<help-debbugs <at> gnu.org> wrote:
>
> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  guix-patches <at> gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 73606 <at> debbugs.gnu.org.
>
> Please do not send mail to help-debbugs <at> gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 73606: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73606
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems

Pushed as ad01d433adce750282f09c0499285573a538dcaf.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 05 Apr 2025 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.