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 {
|
2020-06-06 07:47:23 +01:00
|
|
|
version = "4.1.1";
|
2017-10-29 00:39:03 +01:00
|
|
|
pname = "pwntools";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:23 +01:00
|
|
|
sha256 = "694ce7a6cfca0ad40eae36c1d2663c44eb953f84785c63daa9752b4dfa7f39d8";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|