1{ lib, buildPythonPackage, fetchPypi 2, capstone}: 3 4buildPythonPackage rec { 5 pname = "ROPGadget"; 6 version = "6.6"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "dc61186e0114ec67ec7ce374df8fd2ddc2a7cba129a1242338e900a7483fba22"; 11 }; 12 13 propagatedBuildInputs = [ capstone ]; 14 15 meta = with 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}