blob: 98e88d0d6f83f053784d61b3cbc616b09a7cc06a (
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
26
|
{ lib, fetchFromGitHub, python3, bcc }:
python3.pkgs.buildPythonApplication rec {
pname = "sockdump";
version = "unstable-2023-12-11";
src = fetchFromGitHub {
owner = "mechpen";
repo = pname;
rev = "d40ec77e960d021861220bc14a273c5dcad13160";
hash = "sha256-FLK1rgWvIoFGv/6+DtDhZGeOZrn7V1jYNS3S8qwL/dc=";
};
propagatedBuildInputs = [ bcc ];
format = "other"; # none
installPhase = "install -D ${pname}.py $out/bin/${pname}";
meta = src.meta // {
description = "Dump unix domain socket traffic with bpf";
mainProgram = "sockdump";
license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [ ehmry picnoir ];
};
}
|