mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
25 lines
615 B
Nix
25 lines
615 B
Nix
{ 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;
|
|
};
|
|
}
|