evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / bp / bpfmon / package.nix
blobf502bfab45ce47bd178bece2bdc680c02aa1deb2
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , libpcap
5 , yascreen
6 }:
8 stdenv.mkDerivation rec {
9   pname = "bpfmon";
10   version = "2.53";
12   src = fetchFromGitHub {
13     owner = "bbonev";
14     repo = "bpfmon";
15     rev = "refs/tags/v${version}";
16     hash = "sha256-+W+3RLvgXXtUImzLkJr9mSWExvAUgjMp+lR9sg14VaY=";
17   };
19   buildInputs = [
20     libpcap
21     yascreen
22   ];
24   makeFlags = [
25     "PREFIX=$(out)"
26   ];
28   meta = with lib; {
29     description = "BPF based visual packet rate monitor";
30     mainProgram = "bpfmon";
31     homepage = "https://github.com/bbonev/bpfmon";
32     changelog = "https://github.com/bbonev/bpfmon/releases/tag/v${version}";
33     maintainers = with maintainers; [ arezvov ];
34     license = licenses.gpl2Plus;
35     platforms = platforms.linux;
36   };