blob: 0c23b3963cc8fa48b02f20f3126b81499f5befa5 (
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
|
{ stdenv, fetchFromGitHub, lib, libpcap, yascreen }:
stdenv.mkDerivation rec {
pname = "bpfmon";
version = "2.51";
src = fetchFromGitHub {
owner = "bbonev";
repo = "bpfmon";
rev = "v${version}";
sha256 = "sha256-EGRxWq94BWceYXunzcOpMQv4g7cMjVCEWMR0ULGN2Jg=";
};
buildInputs = [ libpcap yascreen ];
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "BPF based visual packet rate monitor";
homepage = "https://github.com/bbonev/bpfmon";
maintainers = with maintainers; [ arezvov ];
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}
|