mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
Merge pull request #129411 from fabaff/bump-ropgadget
python3Packages.ropgadget: 6.5 -> 6.6
This commit is contained in:
commit
d32d3dd8ea
@ -1,21 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, capstone}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ROPGadget";
|
||||
version = "6.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "dc61186e0114ec67ec7ce374df8fd2ddc2a7cba129a1242338e900a7483fba22";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ capstone ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to search for gadgets in binaries to facilitate ROP exploitation";
|
||||
homepage = "http://shell-storm.org/project/ROPgadget/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ bennofs ];
|
||||
};
|
||||
}
|
@ -6,7 +6,7 @@
|
||||
, packaging
|
||||
, pysocks
|
||||
, pygments
|
||||
, ROPGadget
|
||||
, ropgadget
|
||||
, capstone
|
||||
, colored-traceback
|
||||
, paramiko
|
||||
@ -55,7 +55,7 @@ buildPythonPackage rec {
|
||||
packaging
|
||||
pysocks
|
||||
pygments
|
||||
ROPGadget
|
||||
ropgadget
|
||||
capstone
|
||||
colored-traceback
|
||||
paramiko
|
||||
|
35
pkgs/development/python-modules/ropgadget/default.nix
Normal file
35
pkgs/development/python-modules/ropgadget/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, capstone
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ropgadget";
|
||||
version = "6.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "JonathanSalwan";
|
||||
repo = "ROPgadget";
|
||||
rev = "v${version}";
|
||||
sha256 = "1i0gx0cwhxk6d8byvck17hh83szz3k6ndd118ha3q0r0msap0lz1";
|
||||
};
|
||||
|
||||
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";
|
||||
homepage = "http://shell-storm.org/project/ROPgadget/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ bennofs ];
|
||||
};
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
@ -13,7 +14,7 @@ let
|
||||
pycparser
|
||||
pyelftools
|
||||
python-ptrace
|
||||
ROPGadget
|
||||
ropgadget
|
||||
six
|
||||
unicorn
|
||||
pygments
|
||||
|
@ -3527,6 +3527,8 @@ with pkgs;
|
||||
|
||||
restream = callPackage ../applications/misc/remarkable/restream { };
|
||||
|
||||
ropgadget = with python3Packages; toPythonApplication ropgadget;
|
||||
|
||||
ryujinx = callPackage ../misc/emulators/ryujinx { };
|
||||
|
||||
scour = with python3Packages; toPythonApplication scour;
|
||||
|
@ -92,6 +92,7 @@ mapAliases ({
|
||||
scikitlearn = scikit-learn; # added 2021-07-21
|
||||
selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # added 2021-06-10
|
||||
setuptools_scm = setuptools-scm; # added 2021-06-03
|
||||
ROPGadget = ropgadget; # added 2021-07-06
|
||||
smart_open = smart-open; # added 2021-03-14
|
||||
smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14
|
||||
sphinxcontrib_plantuml = sphinxcontrib-plantuml; # added 2021-08-02
|
||||
|
@ -8336,7 +8336,7 @@ in {
|
||||
|
||||
rope = callPackage ../development/python-modules/rope { };
|
||||
|
||||
ROPGadget = callPackage ../development/python-modules/ROPGadget { };
|
||||
ropgadget = callPackage ../development/python-modules/ropgadget { };
|
||||
|
||||
ropper = callPackage ../development/python-modules/ropper { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user