diff options
author | wisut hantanong <wizzup@gmail.com> | 2017-08-31 18:31:19 +0700 |
---|---|---|
committer | wisut hantanong <wizzup@gmail.com> | 2017-08-31 21:18:39 +0700 |
commit | fcba0a1cb7ff15de11f493fa9fe75eff1be9d854 (patch) | |
tree | b828bcf52d45361299bcabd6897c85e87aee46b8 /pkgs/development/python-modules/ROPGadget | |
parent | 31b7f8701a0c31d4f66508fed1ce1ea475e38dcd (diff) |
pythonPackages.ROPGadget : move to separate expression
Diffstat (limited to 'pkgs/development/python-modules/ROPGadget')
-rw-r--r-- | pkgs/development/python-modules/ROPGadget/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ROPGadget/default.nix b/pkgs/development/python-modules/ROPGadget/default.nix new file mode 100644 index 0000000000000..41b92683b07a4 --- /dev/null +++ b/pkgs/development/python-modules/ROPGadget/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildPythonPackage, fetchPypi +, capstone}: + +buildPythonPackage rec { + pname = "ROPGadget"; + version = "5.4"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "19wly4x3mq73c91pplqjk0c7sx6710887czh514qk5l7j0ky6dxg"; + }; + + propagatedBuildInputs = [ capstone ]; + + meta = with stdenv.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 ]; + }; +} |