python3Packages.pwntools: Allow to use any debugger
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
This commit is contained in:
parent
b1051e3595
commit
b6fc6b38b7
@ -1,8 +1,10 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, debugger
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy3k
|
, isPy3k
|
||||||
, Mako
|
, Mako
|
||||||
|
, makeWrapper
|
||||||
, packaging
|
, packaging
|
||||||
, pysocks
|
, pysocks
|
||||||
, pygments
|
, pygments
|
||||||
@ -58,10 +60,15 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
doCheck = false; # no setuptools tests for the package
|
doCheck = false; # no setuptools tests for the package
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
mkdir -p "$out/bin"
|
||||||
|
makeWrapper "${debugger}/bin/${stdenv.lib.strings.getName debugger}" "$out/bin/pwntools-gdb"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://pwntools.com";
|
homepage = "http://pwntools.com";
|
||||||
description = "CTF framework and exploit development library";
|
description = "CTF framework and exploit development library";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ bennofs kristoff3r ];
|
maintainers = with maintainers; [ bennofs kristoff3r pamplemousse ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -26948,6 +26948,8 @@ in
|
|||||||
|
|
||||||
pyload = callPackage ../applications/networking/pyload {};
|
pyload = callPackage ../applications/networking/pyload {};
|
||||||
|
|
||||||
|
pwntools = with python3Packages; toPythonApplication pwntools;
|
||||||
|
|
||||||
uae = callPackage ../misc/emulators/uae { };
|
uae = callPackage ../misc/emulators/uae { };
|
||||||
|
|
||||||
fsuae = callPackage ../misc/emulators/fs-uae { };
|
fsuae = callPackage ../misc/emulators/fs-uae { };
|
||||||
|
@ -7468,7 +7468,7 @@ in {
|
|||||||
|
|
||||||
packet-python = callPackage ../development/python-modules/packet-python { };
|
packet-python = callPackage ../development/python-modules/packet-python { };
|
||||||
|
|
||||||
pwntools = callPackage ../development/python-modules/pwntools { };
|
pwntools = callPackage ../development/python-modules/pwntools { debugger = pkgs.gdb; };
|
||||||
|
|
||||||
ROPGadget = callPackage ../development/python-modules/ROPGadget { };
|
ROPGadget = callPackage ../development/python-modules/ROPGadget { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user