blob: db9edba0b2298adb3b7f2271964eb20a1507efaa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ lib, fetchFromGitHub, python3, bcc }:
python3.pkgs.buildPythonApplication rec {
pname = "sockdump";
version = "unstable-2022-10-12";
src = fetchFromGitHub {
owner = "mechpen";
repo = pname;
rev = "005dcb056238c2e37ff378aef27c953208ffa08f";
hash = "sha256-X8PIUDxlcdPoD7+aLDWzlWV++P3mmu52BwY7irhypww=";
};
propagatedBuildInputs = [ bcc ];
format = "other"; # none
installPhase = "install -D ${pname}.py $out/bin/${pname}";
meta = src.meta // {
description = "Dump unix domain socket traffic with bpf";
license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [ ehmry ];
};
}
|