diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-10-04 11:24:18 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-10-04 11:24:18 +0200 |
commit | 8467f29068956b7b10d9a6174089295b60e5a704 (patch) | |
tree | 01b6e6147fabde7ba367fa927bce9fe1eee246ed /pkgs/development/python-modules/distorm3 | |
parent | 0063d3d668cf93fcdefa7f4b4778ddc59d588443 (diff) |
python3Packages.distorm3: enable tests
Diffstat (limited to 'pkgs/development/python-modules/distorm3')
-rw-r--r-- | pkgs/development/python-modules/distorm3/default.nix | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/distorm3/default.nix b/pkgs/development/python-modules/distorm3/default.nix index 7a0b23e77a74f..715e8c3571436 100644 --- a/pkgs/development/python-modules/distorm3/default.nix +++ b/pkgs/development/python-modules/distorm3/default.nix @@ -2,6 +2,8 @@ , buildPythonPackage , fetchFromGitHub , pythonOlder +, pytestCheckHook +, yasm }: buildPythonPackage rec { @@ -17,8 +19,17 @@ buildPythonPackage rec { sha256 = "012bh1l2w7i9q8rcnznj3x0lra09d5yxd3r42cbrqdwl1mmg26qn"; }; - # no tests included - doCheck = false; + checkInputs = [ + pytestCheckHook + yasm + ]; + + disabledTests = [ + # TypeError: __init__() missing 3 required positional... + "test_dummy" + ]; + + pythonImportsCheck = [ "distorm3" ]; meta = with lib; { description = "Disassembler library for x86/AMD64"; |