at 24.05-pre 1.1 kB view raw
1{ lib 2, buildPythonPackage 3, capstone 4, fetchFromGitHub 5, fetchPypi 6, gevent 7, keystone-engine 8, multiprocess 9, pefile 10, pyelftools 11, pythonOlder 12, python-fx 13, python-registry 14, pyyaml 15, questionary 16, termcolor 17, unicorn 18}: 19 20buildPythonPackage rec { 21 pname = "qiling"; 22 version = "1.4.6"; 23 format = "setuptools"; 24 25 disabled = pythonOlder "3.7"; 26 27 src = fetchPypi { 28 inherit pname version; 29 hash = "sha256-l3WQBlJic4lXCe5Z1FmoxaqOblE7uAaW2gG/nTn84Kc="; 30 }; 31 32 propagatedBuildInputs = [ 33 capstone 34 gevent 35 keystone-engine 36 multiprocess 37 pefile 38 pyelftools 39 python-fx 40 python-registry 41 pyyaml 42 termcolor 43 questionary 44 unicorn 45 ]; 46 47 # Tests are broken (attempt to import a file that tells you not to import it, 48 # amongst other things) 49 doCheck = false; 50 51 pythonImportsCheck = [ 52 "qiling" 53 ]; 54 55 meta = with lib; { 56 description = "Qiling Advanced Binary Emulation Framework"; 57 homepage = "https://qiling.io/"; 58 changelog = "https://github.com/qilingframework/qiling/releases/tag/${version}"; 59 license = licenses.gpl2Only; 60 maintainers = [ ]; 61 }; 62}