{ lib, buildPythonPackage, fetchFromGitHub, graphviz, idapro, nix-update-script, packaging, pytest-cov-stub, pytestCheckHook, setuptools, typing-extensions, writableTmpDirAsHomeHook, }: buildPythonPackage (finalAttrs: { pname = "ida-domain"; version = "0.5.0"; pyproject = true; __structuredAttrs = true; src = fetchFromGitHub { owner = "HexRaysSA"; repo = "ida-domain"; tag = "v${finalAttrs.version}"; hash = "sha256-oa3VQgWDEr4tPQ166EugfS7QrW1DlRb/hwypwKP+Xv4="; }; build-system = [ setuptools ]; dependencies = [ idapro packaging typing-extensions ]; nativeCheckInputs = [ graphviz pytest-cov-stub pytestCheckHook writableTmpDirAsHomeHook ]; # Requires IDE to be installed doCheck = false; # pythonImportsCheck = [ "ida_domain" ]; passthru.updateScript = nix-update-script { }; meta = { description = "Python interface for IDA Pro reverse engineering platform"; homepage = "https://github.com/HexRaysSA/ida-domain"; changelog = "https://github.com/HexRaysSA/ida-domain/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; })