Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 angr, 4 buildPythonPackage, 5 fetchFromGitHub, 6 progressbar, 7 pythonOlder, 8 setuptools, 9 tqdm, 10}: 11 12buildPythonPackage rec { 13 pname = "angrop"; 14 version = "9.2.9"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.6"; 18 19 src = fetchFromGitHub { 20 owner = "angr"; 21 repo = "angrop"; 22 rev = "refs/tags/v${version}"; 23 hash = "sha256-T07Y23UDp9eL2DK5gakV8kPNGsXf+4EofZJDSW/JS1Q="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 angr 30 progressbar 31 tqdm 32 ]; 33 34 # Tests have additional requirements, e.g., angr binaries 35 # cle is executing the tests with the angr binaries already and is a requirement of angr 36 doCheck = false; 37 38 pythonImportsCheck = [ "angrop" ]; 39 40 meta = with lib; { 41 description = "ROP gadget finder and chain builder"; 42 homepage = "https://github.com/angr/angrop"; 43 license = with licenses; [ bsd2 ]; 44 maintainers = with maintainers; [ fab ]; 45 }; 46}