···28 debuggerName = lib.strings.getName debugger;
29in
30buildPythonPackage rec {
31- version = "4.9.0";
32 pname = "pwntools";
03334 src = fetchPypi {
35 inherit pname version;
36- hash = "sha256-7qZ9GC+RcEiDkpmNmy8d67dYiTgFBVAfB3B2RfrH5xI=";
37 };
3839 postPatch = ''
40- # Upstream has set an upper bound on unicorn because of https://github.com/Gallopsled/pwntools/issues/1538,
41- # but since that is a niche use case and it requires extra work to get unicorn 1.0.2rc3 to work we relax
42- # the bound here. Check if this is still necessary when updating!
43- sed -i 's/unicorn>=1.0.2rc1,<1.0.2rc4/unicorn>=1.0.2rc1/' setup.py
44-45 # Upstream hardcoded the check for the command `gdb-multiarch`;
46 # Forcefully use the provided debugger, as `gdb` (hence `pwndbg`) is built with multiarch in `nixpkgs`.
47 sed -i 's/gdb-multiarch/${debuggerName}/' pwnlib/gdb.py
···84 '';
8586 meta = with lib; {
087 homepage = "https://pwntools.com";
88- description = "CTF framework and exploit development library";
89 license = licenses.mit;
90 maintainers = with maintainers; [ bennofs kristoff3r pamplemousse ];
91 };
···28 debuggerName = lib.strings.getName debugger;
29in
30buildPythonPackage rec {
031 pname = "pwntools";
32+ version = "4.10.0";
3334 src = fetchPypi {
35 inherit pname version;
36+ hash = "sha256-WI6J6meFJ8C1tsru7n524xNS544vHPPdp7yaz1JuRG0=";
37 };
3839 postPatch = ''
0000040 # Upstream hardcoded the check for the command `gdb-multiarch`;
41 # Forcefully use the provided debugger, as `gdb` (hence `pwndbg`) is built with multiarch in `nixpkgs`.
42 sed -i 's/gdb-multiarch/${debuggerName}/' pwnlib/gdb.py
···79 '';
8081 meta = with lib; {
82+ description = "CTF framework and exploit development library";
83 homepage = "https://pwntools.com";
84+ changelog = "https://github.com/Gallopsled/pwntools/releases/tag/${version}";
85 license = licenses.mit;
86 maintainers = with maintainers; [ bennofs kristoff3r pamplemousse ];
87 };