Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 69 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ lib, buildPythonPackage, fetchFromGitHub, filelock, ghidra-bridge, jfx-bridge, networkx, platformdirs, prompt-toolkit, psutil, pycparser, pyhidra, pytestCheckHook, setuptools, toml, tqdm, writableTmpDirAsHomeHook,}:
buildPythonPackage rec { pname = "libbs"; version = "2.15.4"; pyproject = true;
src = fetchFromGitHub { owner = "binsync"; repo = "libbs"; tag = "v${version}"; hash = "sha256-i5y0aPCBcCzR2pYYtdxy9OEFFF47chINMRfhj9zAf7g="; };
build-system = [ setuptools ];
dependencies = [ filelock ghidra-bridge jfx-bridge networkx 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 ]; };}