Merge pull request #140464 from fabaff/bump-distorm

authored by Sandro and committed by GitHub a466bcce 3f230ddf

+28 -9
+28 -9
pkgs/development/python-modules/distorm3/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi }: 2 3 buildPythonPackage rec { 4 pname = "distorm3"; 5 - version = "3.3.4"; 6 7 - src = fetchPypi { 8 - inherit pname version; 9 - extension = "zip"; 10 - sha256 = "1bh9xdiz9mkf9lfffimfn3hgd0mh60y7wl1micgkxzpl7hnxrpd4"; 11 }; 12 13 - # no tests included 14 - doCheck = false; 15 16 meta = with lib; { 17 - description = "Powerful Disassembler Library For x86/AMD64"; 18 homepage = "https://github.com/gdabah/distorm"; 19 license = licenses.bsd3; 20 }; 21 }
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pythonOlder 5 + , pytestCheckHook 6 + , yasm 7 + }: 8 9 buildPythonPackage rec { 10 pname = "distorm3"; 11 + version = "3.5.2"; 12 + 13 + disabled = pythonOlder "3.5"; 14 15 + src = fetchFromGitHub { 16 + owner = "gdabah"; 17 + repo = "distorm"; 18 + rev = version; 19 + sha256 = "012bh1l2w7i9q8rcnznj3x0lra09d5yxd3r42cbrqdwl1mmg26qn"; 20 }; 21 22 + checkInputs = [ 23 + pytestCheckHook 24 + yasm 25 + ]; 26 + 27 + disabledTests = [ 28 + # TypeError: __init__() missing 3 required positional... 29 + "test_dummy" 30 + ]; 31 + 32 + pythonImportsCheck = [ "distorm3" ]; 33 34 meta = with lib; { 35 + description = "Disassembler library for x86/AMD64"; 36 homepage = "https://github.com/gdabah/distorm"; 37 license = licenses.bsd3; 38 + maintainers = with maintainers; [ fab ]; 39 }; 40 }