Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / distorm3 / default.nix
blob0471855b79d34469ba972d4ed893628ab289df7a
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , pytestCheckHook
6 , yasm
7 }:
9 buildPythonPackage rec {
10   pname = "distorm3";
11   version = "3.5.2";
12   format = "setuptools";
14   disabled = pythonOlder "3.5";
16   src = fetchFromGitHub {
17     owner = "gdabah";
18     repo = "distorm";
19     rev = version;
20     sha256 = "012bh1l2w7i9q8rcnznj3x0lra09d5yxd3r42cbrqdwl1mmg26qn";
21   };
23   nativeCheckInputs = [
24     pytestCheckHook
25     yasm
26   ];
28   disabledTests = [
29     # TypeError: __init__() missing 3 required positional...
30     "test_dummy"
31   ];
33   pythonImportsCheck = [ "distorm3" ];
35   meta = with lib; {
36     description = "Disassembler library for x86/AMD64";
37     homepage = "https://github.com/gdabah/distorm";
38     license = licenses.bsd3;
39     maintainers = with maintainers; [ fab ];
40   };