1{ 2 lib, 3 buildPythonPackage, 4 distutils, 5 fetchFromGitHub, 6 pythonOlder, 7 pytestCheckHook, 8 setuptools, 9 yasm, 10}: 11 12buildPythonPackage rec { 13 pname = "distorm3"; 14 version = "3.5.2b"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.5"; 18 19 src = fetchFromGitHub { 20 owner = "gdabah"; 21 repo = "distorm"; 22 tag = version; 23 hash = "sha256-2ftEV3TMS3HT7f96k+Pwt3Mm31fVEXcHpcbbz05jycU="; 24 }; 25 26 build-system = [ 27 distutils 28 setuptools 29 ]; 30 31 nativeCheckInputs = [ 32 pytestCheckHook 33 yasm 34 ]; 35 36 # TypeError: __init__() missing 3 required positional... 37 doCheck = false; 38 39 pythonImportsCheck = [ "distorm3" ]; 40 41 meta = with lib; { 42 description = "Disassembler library for x86/AMD64"; 43 homepage = "https://github.com/gdabah/distorm"; 44 changelog = "https://github.com/gdabah/distorm/releases/tag/${version}"; 45 license = licenses.bsd3; 46 maintainers = with maintainers; [ fab ]; 47 }; 48}