diff --git a/pkgs/development/python-modules/libbs/default.nix b/pkgs/development/python-modules/libbs/default.nix index a31af467594b..8f004b52fa4e 100644 --- a/pkgs/development/python-modules/libbs/default.nix +++ b/pkgs/development/python-modules/libbs/default.nix @@ -10,10 +10,11 @@ psutil, pycparser, pyhidra, + pytestCheckHook, setuptools, toml, tqdm, - wheel, + writableTmpDirAsHomeHook, }: buildPythonPackage rec { @@ -31,23 +32,35 @@ buildPythonPackage rec { build-system = [ setuptools ]; dependencies = [ - toml - pycparser - prompt-toolkit - tqdm - jfx-bridge - ghidra-bridge - psutil - pyhidra - platformdirs filelock + ghidra-bridge + jfx-bridge + platformdirs + prompt-toolkit + psutil + pycparser + pyhidra + toml + tqdm + ]; + + nativeCheckInputs = [ + pytestCheckHook + writableTmpDirAsHomeHook ]; pythonImportsCheck = [ "libbs" ]; + disabledTests = [ + "test_change_watcher_plugin_cli" + "test_ghidra_artifact_watchers" + "TestHeadlessInterfaces" + ]; + meta = { description = "Library for writing plugins in any decompiler: includes API lifting, common data formatting, and GUI abstraction"; homepage = "https://github.com/binsync/libbs"; + changelog = "https://github.com/binsync/libbs/releases/tag/${src.tag}"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ scoder12 ]; };