1 { lib, stdenv, fetchFromGitHub, ncurses }:
3 stdenv.mkDerivation (finalAttrs: {
7 src = fetchFromGitHub {
10 rev = finalAttrs.version;
11 hash = "sha256-OQWlFwCga33rTseLeO8rAd+pkLHbSNf3YI5OSwrdIyk=";
14 buildInputs = [ ncurses ];
16 installFlags = [ "prefix=$(out)" ];
19 description = "Tool to monitor network traffic based on processes";
20 homepage = "https://github.com/berghetti/netproc";
21 license = licenses.gpl3;
22 mainProgram = "netproc";
23 maintainers = [ maintainers.azuwis ];
24 platforms = platforms.linux;