at 23.05-pre 24 lines 615 B view raw
1{ stdenv, fetchFromGitHub, lib, libpcap, yascreen }: 2 3stdenv.mkDerivation rec { 4 pname = "bpfmon"; 5 version = "2.50"; 6 7 src = fetchFromGitHub { 8 owner = "bbonev"; 9 repo = "bpfmon"; 10 rev = "v${version}"; 11 sha256 = "sha256-x4EuGZBtg45bD9q1B/6KwjDRXXeRsdFmRllREsech+E="; 12 }; 13 14 buildInputs = [ libpcap yascreen ]; 15 makeFlags = [ "PREFIX=$(out)" ]; 16 17 meta = with lib; { 18 description = "BPF based visual packet rate monitor"; 19 homepage = "https://github.com/bbonev/bpfmon"; 20 maintainers = with maintainers; [ arezvov ]; 21 license = licenses.gpl2Plus; 22 platforms = platforms.linux; 23 }; 24}