Files
nixpkgs/pkgs/by-name/so/sockdump/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

34 lines
699 B
Nix

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