Files
nixpkgs/pkgs/development/python-modules/binsync/default.nix
Connor Nelson 20b5d8fb04 python3Packages.binsync: 5.11.0 -> 5.15.4
Use declib and adjust the headless test setup. Exclude the circular angr-management test and the flaky QThread teardown test.

https://github.com/binsync/binsync/releases/tag/v5.15.4

Assisted-by: OpenAI Codex (GPT-6)
2026-10-17 21:48:03 +00:00

78 lines
1.4 KiB
Nix

{
lib,
buildPythonPackage,
declib,
fetchFromGitHub,
filelock,
flask,
gitpython,
ply,
prompt-toolkit,
pytest-qt,
pytestCheckHook,
requests,
setuptools,
sortedcontainers,
toml,
tqdm,
writableTmpDirAsHomeHook,
wordfreq,
}:
buildPythonPackage (finalAttrs: {
pname = "binsync";
version = "5.15.4";
pyproject = true;
src = fetchFromGitHub {
owner = "binsync";
repo = "binsync";
tag = "v${finalAttrs.version}";
hash = "sha256-4bxzNLgd42n4h1N4rwkMnL5WZ7zVSbEbgdfvlTlueNo=";
};
build-system = [ setuptools ];
dependencies = [
declib
filelock
gitpython
ply
prompt-toolkit
sortedcontainers
toml
tqdm
wordfreq
]
++ declib.optional-dependencies.ghidra;
nativeCheckInputs = [
flask
pytestCheckHook
pytest-qt
requests
writableTmpDirAsHomeHook
];
disabledTestPaths = [
# Test imports angr-management, which depends on binsync.
"tests/test_angr_gui.py"
# Flaky teardown does not wait for QThreads before destroying them.
"tests/test_auxiliary_server.py"
];
env.QT_QPA_PLATFORM = "offscreen";
pythonImportsCheck = [ "binsync" ];
meta = {
description = "Reversing plugin for cross-decompiler collaboration, built on git";
homepage = "https://github.com/binsync/binsync";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [
connornelson
scoder12
];
};
})