nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 844 B view raw
1{ 2 lib, 3 angr, 4 buildPythonPackage, 5 fetchFromGitHub, 6 setuptools, 7 tqdm, 8}: 9 10buildPythonPackage rec { 11 pname = "angrop"; 12 version = "9.2.12.post3"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "angr"; 17 repo = "angrop"; 18 tag = "v${version}"; 19 hash = "sha256-t4JjI6mWX/Us4dHcVXPAUGms8SEE6MVhteQMPi8p5Zo="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 angr 26 tqdm 27 ]; 28 29 # Tests have additional requirements, e.g., angr binaries 30 # cle is executing the tests with the angr binaries already and is a requirement of angr 31 doCheck = false; 32 33 pythonImportsCheck = [ "angrop" ]; 34 35 meta = { 36 description = "ROP gadget finder and chain builder"; 37 homepage = "https://github.com/angr/angrop"; 38 license = with lib.licenses; [ bsd2 ]; 39 maintainers = with lib.maintainers; [ fab ]; 40 }; 41}