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