summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorwisut hantanong <wizzup@gmail.com>2017-08-31 18:31:19 +0700
committerwisut hantanong <wizzup@gmail.com>2017-08-31 21:18:39 +0700
commitfcba0a1cb7ff15de11f493fa9fe75eff1be9d854 (patch)
treeb828bcf52d45361299bcabd6897c85e87aee46b8 /pkgs/development/python-modules
parent31b7f8701a0c31d4f66508fed1ce1ea475e38dcd (diff)
downloadnixlib-fcba0a1cb7ff15de11f493fa9fe75eff1be9d854.tar
nixlib-fcba0a1cb7ff15de11f493fa9fe75eff1be9d854.tar.gz
nixlib-fcba0a1cb7ff15de11f493fa9fe75eff1be9d854.tar.bz2
nixlib-fcba0a1cb7ff15de11f493fa9fe75eff1be9d854.tar.lz
nixlib-fcba0a1cb7ff15de11f493fa9fe75eff1be9d854.tar.xz
nixlib-fcba0a1cb7ff15de11f493fa9fe75eff1be9d854.tar.zst
nixlib-fcba0a1cb7ff15de11f493fa9fe75eff1be9d854.zip
pythonPackages.ROPGadget : move to separate expression
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/ROPGadget/default.nix22
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 000000000000..41b92683b07a
--- /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 ];
+  };
+}