diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-04-24 02:31:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-24 02:31:18 +0200 |
commit | 8657f49d9196b3cd047fd467d0a1c1bb8df68e67 (patch) | |
tree | f1a2642bbce5eec69c2d75f3a2e5f818141b3a16 /pkgs/development | |
parent | bf18034b984745c199c6cb65bac9a28d3b0121e7 (diff) | |
parent | fe3c957f3753a3b33107ca39cea8c4cd1b93f620 (diff) |
Merge pull request #120328 from fabaff/angrop
angrop: init at 9.0.6790
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/angrop/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/angrop/default.nix b/pkgs/development/python-modules/angrop/default.nix new file mode 100644 index 0000000000000..45c092cf0d66b --- /dev/null +++ b/pkgs/development/python-modules/angrop/default.nix @@ -0,0 +1,37 @@ +{ lib +, angr +, buildPythonPackage +, fetchFromGitHub +, progressbar +, pythonOlder +}: + +buildPythonPackage rec { + pname = "angrop"; + version = "9.0.6790"; + disabled = pythonOlder "3.6"; + + src = fetchFromGitHub { + owner = "angr"; + repo = pname; + rev = "v${version}"; + sha256 = "16r22ajkj8sxbgsym0i85xdjvphgf1566p5s7d915kkj37qdrrpy"; + }; + + propagatedBuildInputs = [ + angr + progressbar + ]; + + # Tests have additional requirements, e.g., angr binaries + # cle is executing the tests with the angr binaries already and is a requirement of angr + doCheck = false; + pythonImportsCheck = [ "angrop" ]; + + meta = with lib; { + description = "ROP gadget finder and chain builder"; + homepage = "https://github.com/angr/angrop"; + license = with licenses; [ bsd2 ]; + maintainers = with maintainers; [ fab ]; + }; +} |