Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
748 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
libpcap,
yascreen,
}:
stdenv.mkDerivation rec {
pname = "bpfmon";
version = "2.53";
src = fetchFromGitHub {
owner = "bbonev";
repo = "bpfmon";
tag = "v${version}";
hash = "sha256-+W+3RLvgXXtUImzLkJr9mSWExvAUgjMp+lR9sg14VaY=";
};
buildInputs = [
libpcap
yascreen
];
makeFlags = [
"PREFIX=$(out)"
];
meta = {
description = "BPF based visual packet rate monitor";
mainProgram = "bpfmon";
homepage = "https://github.com/bbonev/bpfmon";
changelog = "https://github.com/bbonev/bpfmon/releases/tag/v${version}";
maintainers = with lib.maintainers; [ arezvov ];
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
};
}