2022-03-16 05:21:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ncurses }:
|
|
|
|
|
2023-09-13 14:55:42 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2022-03-16 05:21:19 +00:00
|
|
|
pname = "netproc";
|
2023-09-13 14:55:42 +00:00
|
|
|
version = "0.6.6";
|
2022-03-16 05:21:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "berghetti";
|
|
|
|
repo = "netproc";
|
2023-09-13 14:55:42 +00:00
|
|
|
rev = finalAttrs.version;
|
2024-09-14 21:47:11 +00:00
|
|
|
hash = "sha256-OQWlFwCga33rTseLeO8rAd+pkLHbSNf3YI5OSwrdIyk=";
|
2022-03-16 05:21:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
|
|
|
installFlags = [ "prefix=$(out)" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool to monitor network traffic based on processes";
|
|
|
|
homepage = "https://github.com/berghetti/netproc";
|
2023-09-13 14:55:42 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
mainProgram = "netproc";
|
2022-03-16 05:21:19 +00:00
|
|
|
maintainers = [ maintainers.azuwis ];
|
2023-09-13 14:55:42 +00:00
|
|
|
platforms = platforms.linux;
|
2022-03-16 05:21:19 +00:00
|
|
|
};
|
2023-09-13 14:55:42 +00:00
|
|
|
})
|