python313Packages.jfx-bridge: refactor

Changed files
+6 -4
pkgs
development
python-modules
jfx-bridge
+6 -4
pkgs/development/python-modules/jfx-bridge/default.nix
···
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
+
python,
setuptools,
-
wheel,
}:
buildPythonPackage rec {
···
};
patches = [ ./no-invoke-git.patch ];
+
postPatch = ''
substituteInPlace ./setup.py --subst-var-by version ${version}
'';
build-system = [ setuptools ];
-
doCheck = true;
nativeCheckInputs = [ pytestCheckHook ];
+
preCheck = ''
-
python test_bridge_server.py &
+
${python.interpreter} test_bridge_server.py &
'';
disabledTests = [
···
pythonImportsCheck = [ "jfx_bridge" ];
meta = {
-
description = "Base Python2/3 RPC bridge used for ghidra_bridge";
+
description = "Base Python RPC bridge used for ghidra_bridge";
homepage = "https://github.com/justfoxing/jfx_bridge";
+
changelog = "https://github.com/justfoxing/jfx_bridge/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ scoder12 ];
};