python3Packages.ROPGadget: 6.5 -> 6.6
This commit is contained in:
@@ -1,16 +1,30 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, capstone}:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, capstone
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ROPGadget";
|
||||
pname = "ropgadget";
|
||||
version = "6.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "dc61186e0114ec67ec7ce374df8fd2ddc2a7cba129a1242338e900a7483fba22";
|
||||
src = fetchFromGitHub {
|
||||
owner = "JonathanSalwan";
|
||||
repo = "ROPgadget";
|
||||
rev = "v${version}";
|
||||
sha256 = "1i0gx0cwhxk6d8byvck17hh83szz3k6ndd118ha3q0r0msap0lz1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ capstone ];
|
||||
propagatedBuildInputs = [
|
||||
capstone
|
||||
];
|
||||
|
||||
# Test suite is working with binaries
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ropgadget"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to search for gadgets in binaries to facilitate ROP exploitation";
|
||||
|
||||
Reference in New Issue
Block a user