26 buildPythonPackage rec {
31 inherit pname version;
32 sha256 = "12ja913kz8wl4afrmpzxh9fx6j7rcwc2vqzkvfr1fxn42gkqhqf4";
35 # Upstream has set an upper bound on unicorn because of https://github.com/Gallopsled/pwntools/issues/1538,
36 # but since that is a niche use case and it requires extra work to get unicorn 1.0.2rc3 to work we relax
37 # the bound here. Check if this is still necessary when updating!
39 sed -i 's/unicorn>=1.0.2rc1,<1.0.2rc4/unicorn>=1.0.2rc1/' setup.py
42 propagatedBuildInputs = [
61 doCheck = false; # no setuptools tests for the package
65 makeWrapper "${debugger}/bin/${lib.strings.getName debugger}" "$out/bin/pwntools-gdb"
69 homepage = "http://pwntools.com";
70 description = "CTF framework and exploit development library";
71 license = licenses.mit;
72 maintainers = with maintainers; [ bennofs kristoff3r pamplemousse ];