python3Packages.pwntools: Allow to use any debugger

Signed-off-by: Pamplemousse <xav.maso@gmail.com>
This commit is contained in:
Pamplemousse
2020-08-20 10:14:44 -07:00
committed by Jon
parent b1051e3595
commit b6fc6b38b7
3 changed files with 11 additions and 2 deletions

View File

@@ -1,8 +1,10 @@
{ stdenv
, buildPythonPackage
, debugger
, fetchPypi
, isPy3k
, Mako
, makeWrapper
, packaging
, pysocks
, pygments
@@ -58,10 +60,15 @@ buildPythonPackage rec {
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; {
homepage = "http://pwntools.com";
description = "CTF framework and exploit development library";
license = licenses.mit;
maintainers = with maintainers; [ bennofs kristoff3r ];
maintainers = with maintainers; [ bennofs kristoff3r pamplemousse ];
};
}