Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 22 lines 581 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, capstone}: 3 4buildPythonPackage rec { 5 pname = "ROPGadget"; 6 version = "5.4"; 7 name = "${pname}-${version}"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "19wly4x3mq73c91pplqjk0c7sx6710887czh514qk5l7j0ky6dxg"; 12 }; 13 14 propagatedBuildInputs = [ capstone ]; 15 16 meta = with stdenv.lib; { 17 description = "Tool to search for gadgets in binaries to facilitate ROP exploitation"; 18 homepage = "http://shell-storm.org/project/ROPgadget/"; 19 license = licenses.bsd3; 20 maintainers = with maintainers; [ bennofs ]; 21 }; 22}