blob: 3f5bd8cbd86bb9f7c008309a395e44b122646740 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ lib, stdenv, fetchFromGitHub, ncurses }:
stdenv.mkDerivation (finalAttrs: {
pname = "netproc";
version = "0.6.6";
src = fetchFromGitHub {
owner = "berghetti";
repo = "netproc";
rev = finalAttrs.version;
sha256 = "sha256-OQWlFwCga33rTseLeO8rAd+pkLHbSNf3YI5OSwrdIyk=";
};
buildInputs = [ ncurses ];
installFlags = [ "prefix=$(out)" ];
meta = with lib; {
description = "Tool to monitor network traffic based on processes";
homepage = "https://github.com/berghetti/netproc";
license = licenses.gpl3;
mainProgram = "netproc";
maintainers = [ maintainers.azuwis ];
platforms = platforms.linux;
};
})
|