2017-10-29 00:39:03 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
|
|
|
, Mako, packaging, pysocks, pygments, ROPGadget
|
|
|
|
, capstone, paramiko, pip, psutil
|
2018-02-02 18:16:39 +00:00
|
|
|
, pyelftools, pyserial, dateutil
|
|
|
|
, requests, tox, unicorn, intervaltree, fetchpatch }:
|
2017-10-29 00:39:03 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-11-06 09:41:32 +00:00
|
|
|
version = "4.0.0b0";
|
2017-10-29 00:39:03 +01:00
|
|
|
pname = "pwntools";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-06 09:41:32 +00:00
|
|
|
sha256 = "11f7x7rjad1nawn3r524lzxgz3nk89c6s3xycrscn3n86hh0zgid";
|
2017-10-29 00:39:03 +01:00
|
|
|
};
|
|
|
|
|
2018-02-02 18:16:39 +00:00
|
|
|
propagatedBuildInputs = [ Mako packaging pysocks pygments ROPGadget capstone paramiko pip psutil pyelftools pyserial dateutil requests tox unicorn intervaltree ];
|
2017-10-29 00:39:03 +01:00
|
|
|
|
2017-12-17 18:38:18 +00:00
|
|
|
doCheck = false; # no setuptools tests for the package
|
2017-10-29 00:39:03 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "http://pwntools.com";
|
|
|
|
description = "CTF framework and exploit development library";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bennofs kristoff3r ];
|
|
|
|
};
|
|
|
|
}
|