2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
capstone,
|
|
|
|
future,
|
|
|
|
ipython,
|
|
|
|
psutil,
|
|
|
|
pwntools,
|
|
|
|
pycparser,
|
|
|
|
pyelftools,
|
|
|
|
pygments,
|
|
|
|
requests,
|
|
|
|
rpyc,
|
|
|
|
sortedcontainers,
|
|
|
|
tabulate,
|
|
|
|
typing-extensions,
|
|
|
|
unicorn,
|
|
|
|
gdb-pt-dump,
|
|
|
|
poetry-core,
|
2024-04-21 15:54:59 +00:00
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pwndbg";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "2024.08.29";
|
2024-04-21 15:54:59 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pwndbg";
|
|
|
|
repo = "pwndbg";
|
|
|
|
rev = version;
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-mpkUEP0GBwOfbbpogupmDvCo8dkbSGy1YtH8T55rX9g=";
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
2024-04-21 15:54:59 +00:00
|
|
|
pythonRelaxDeps = true;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
capstone
|
|
|
|
future
|
|
|
|
ipython
|
|
|
|
psutil
|
|
|
|
pwntools
|
|
|
|
pycparser
|
|
|
|
pyelftools
|
|
|
|
pygments
|
|
|
|
requests
|
|
|
|
rpyc
|
|
|
|
sortedcontainers
|
|
|
|
tabulate
|
|
|
|
typing-extensions
|
|
|
|
unicorn
|
2024-09-19 14:19:46 +00:00
|
|
|
gdb-pt-dump
|
2024-04-21 15:54:59 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Exploit Development and Reverse Engineering with GDB Made Easy";
|
|
|
|
homepage = "https://pwndbg.re";
|
|
|
|
changelog = "https://github.com/pwndbg/pwndbg/releases/tag/${version}";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ msanft ];
|
|
|
|
};
|
|
|
|
}
|