depot/third_party/nixpkgs/pkgs/development/python-modules/distorm3/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

41 lines
792 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, yasm
}:
buildPythonPackage rec {
pname = "distorm3";
version = "3.5.2";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "gdabah";
repo = "distorm";
rev = version;
sha256 = "012bh1l2w7i9q8rcnznj3x0lra09d5yxd3r42cbrqdwl1mmg26qn";
};
nativeCheckInputs = [
pytestCheckHook
yasm
];
disabledTests = [
# TypeError: __init__() missing 3 required positional...
"test_dummy"
];
pythonImportsCheck = [ "distorm3" ];
meta = with lib; {
description = "Disassembler library for x86/AMD64";
homepage = "https://github.com/gdabah/distorm";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}