1{ stdenv, buildPythonPackage, fetchPypi 2, capstone}: 3 4buildPythonPackage rec { 5 pname = "ROPGadget"; 6 version = "5.4"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "19wly4x3mq73c91pplqjk0c7sx6710887czh514qk5l7j0ky6dxg"; 11 }; 12 13 propagatedBuildInputs = [ capstone ]; 14 15 meta = with stdenv.lib; { 16 description = "Tool to search for gadgets in binaries to facilitate ROP exploitation"; 17 homepage = "http://shell-storm.org/project/ROPgadget/"; 18 license = licenses.bsd3; 19 maintainers = with maintainers; [ bennofs ]; 20 }; 21}