tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
bpfmon: init at 2.50
Alexander Rezvov
4 years ago
04f95964
5e6aaaf2
+26
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
bpfmon
default.nix
top-level
all-packages.nix
+24
pkgs/os-specific/linux/bpfmon/default.nix
···
1
1
+
{ stdenv, fetchFromGitHub, lib, libpcap, yascreen }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
pname = "bpfmon";
5
5
+
version = "2.50";
6
6
+
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "bbonev";
9
9
+
repo = "bpfmon";
10
10
+
rev = "v${version}";
11
11
+
sha256 = "sha256-x4EuGZBtg45bD9q1B/6KwjDRXXeRsdFmRllREsech+E=";
12
12
+
};
13
13
+
14
14
+
buildInputs = [ libpcap yascreen ];
15
15
+
makeFlags = [ "PREFIX=$(out)" ];
16
16
+
17
17
+
meta = with lib; {
18
18
+
description = "BPF based visual packet rate monitor";
19
19
+
homepage = "https://github.com/bbonev/bpfmon";
20
20
+
maintainers = with maintainers; [ arezvov ];
21
21
+
license = licenses.gpl2Plus;
22
22
+
platforms = platforms.linux;
23
23
+
};
24
24
+
}
+2
pkgs/top-level/all-packages.nix
···
21316
21316
21317
21317
bolt = callPackage ../os-specific/linux/bolt { };
21318
21318
21319
21319
+
bpfmon = callPackage ../os-specific/linux/bpfmon { };
21320
21320
+
21319
21321
bridge-utils = callPackage ../os-specific/linux/bridge-utils { };
21320
21322
21321
21323
busybox = callPackage ../os-specific/linux/busybox { };