···2828 debuggerName = lib.strings.getName debugger;
2929in
3030buildPythonPackage rec {
3131- version = "4.9.0";
3231 pname = "pwntools";
3232+ version = "4.10.0";
33333434 src = fetchPypi {
3535 inherit pname version;
3636- hash = "sha256-7qZ9GC+RcEiDkpmNmy8d67dYiTgFBVAfB3B2RfrH5xI=";
3636+ hash = "sha256-WI6J6meFJ8C1tsru7n524xNS544vHPPdp7yaz1JuRG0=";
3737 };
38383939 postPatch = ''
4040- # Upstream has set an upper bound on unicorn because of https://github.com/Gallopsled/pwntools/issues/1538,
4141- # but since that is a niche use case and it requires extra work to get unicorn 1.0.2rc3 to work we relax
4242- # the bound here. Check if this is still necessary when updating!
4343- sed -i 's/unicorn>=1.0.2rc1,<1.0.2rc4/unicorn>=1.0.2rc1/' setup.py
4444-4540 # Upstream hardcoded the check for the command `gdb-multiarch`;
4641 # Forcefully use the provided debugger, as `gdb` (hence `pwndbg`) is built with multiarch in `nixpkgs`.
4742 sed -i 's/gdb-multiarch/${debuggerName}/' pwnlib/gdb.py
···8479 '';
85808681 meta = with lib; {
8282+ description = "CTF framework and exploit development library";
8783 homepage = "https://pwntools.com";
8888- description = "CTF framework and exploit development library";
8484+ changelog = "https://github.com/Gallopsled/pwntools/releases/tag/${version}";
8985 license = licenses.mit;
9086 maintainers = with maintainers; [ bennofs kristoff3r pamplemousse ];
9187 };