Merge pull request #164366 from azuwis/netproc

This commit is contained in:
Sandro 2022-03-18 15:42:41 +01:00 committed by GitHub
commit d247fdf888
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ lib, stdenv, fetchFromGitHub, ncurses }:
stdenv.mkDerivation rec {
pname = "netproc";
version = "unstable-2022-02-11";
src = fetchFromGitHub {
owner = "berghetti";
repo = "netproc";
rev = "87a10ce31ae150847674ad87ef84ef2fd374b420";
sha256 = "sha256-YSKDOvqWLCrnP1qjmzMuRgjXiXZ9D4AuxXm/3xzS4gc=";
};
buildInputs = [ ncurses ];
installFlags = [ "prefix=$(out)" ];
meta = with lib; {
description = "Tool to monitor network traffic based on processes";
license = licenses.gpl3;
homepage = "https://github.com/berghetti/netproc";
platforms = platforms.linux;
maintainers = [ maintainers.azuwis ];
};
}

View File

@ -8212,6 +8212,8 @@ with pkgs;
netpbm = callPackage ../tools/graphics/netpbm { };
netproc = callPackage ../tools/networking/netproc { };
netrw = callPackage ../tools/networking/netrw { };
netselect = callPackage ../tools/networking/netselect { };