Merge pull request #140488 from arezvov/bpfmon

bpfmon: init at 2.50
This commit is contained in:
figsoda 2021-10-05 15:42:21 -04:00 committed by GitHub
commit aa71e883f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub, lib, libpcap, yascreen }:
stdenv.mkDerivation rec {
pname = "bpfmon";
version = "2.50";
src = fetchFromGitHub {
owner = "bbonev";
repo = "bpfmon";
rev = "v${version}";
sha256 = "sha256-x4EuGZBtg45bD9q1B/6KwjDRXXeRsdFmRllREsech+E=";
};
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;
};
}

View file

@ -21336,6 +21336,8 @@ with pkgs;
bolt = callPackage ../os-specific/linux/bolt { }; bolt = callPackage ../os-specific/linux/bolt { };
bpfmon = callPackage ../os-specific/linux/bpfmon { };
bridge-utils = callPackage ../os-specific/linux/bridge-utils { }; bridge-utils = callPackage ../os-specific/linux/bridge-utils { };
busybox = callPackage ../os-specific/linux/busybox { }; busybox = callPackage ../os-specific/linux/busybox { };