python3Packages.jfx-bridge: drop

This commit is contained in:
GraysonTinker
2026-04-05 16:26:08 -07:00
parent af3057b2fe
commit 1e331e9dbf
4 changed files with 1 additions and 67 deletions
@@ -1,52 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
python,
setuptools,
}:
buildPythonPackage rec {
pname = "jfx-bridge";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "justfoxing";
repo = "jfx_bridge";
tag = version;
hash = "sha256-fpUrKNGqTpthhTfohCbwO1GBDAP/YnLWeapVhZftldg=";
};
patches = [ ./no-invoke-git.patch ];
postPatch = ''
substituteInPlace ./setup.py --subst-var-by version ${version}
'';
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = ''
${python.interpreter} test_bridge_server.py &
'';
disabledTests = [
# known to cause timeout with newer python (acknowledged in test comment)
"test_nonreturn_marker_local"
# the mechanisms that hook into the python import machinery seem broken on newer python
"TestBridgeHookImport"
];
pythonImportsCheck = [ "jfx_bridge" ];
meta = {
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 ];
};
}
@@ -1,13 +0,0 @@
diff --git a/setup.py b/setup.py
index 079cb01..c5e71b8 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ with open("README.md", "r") as fh:
long_description = fh.read()
# determine the version, then write it out into the bridge.py file
-version = subprocess.check_output("git describe --tags", shell=True).decode("utf-8").strip()
+version = "@version@"
# check if this is a non-tag release and remark it as a dev release
if "-" in version:
ver, commits, hash = version.split("-")
+1
View File
@@ -272,6 +272,7 @@ mapAliases {
jaraco_stream = throw "'jaraco_stream' has been renamed to/replaced by 'jaraco-stream'"; # Converted to throw 2025-10-29
jaraco_text = throw "'jaraco_text' has been renamed to/replaced by 'jaraco-text'"; # Converted to throw 2025-10-29
JayDeBeApi = throw "'JayDeBeApi' has been renamed to/replaced by 'jaydebeapi'"; # Converted to throw 2025-10-29
jfx-bridge = throw "'jfx-bridge' has been removed as it was unmaintained upstream"; # Added 2026-04-05
jinja2_pluralize = throw "'jinja2_pluralize' has been renamed to/replaced by 'jinja2-pluralize'"; # Converted to throw 2025-10-29
jinja2_time = throw "'jinja2_time' has been renamed to/replaced by 'jinja2-time'"; # Converted to throw 2025-10-29
JPype1 = throw "'JPype1' has been renamed to/replaced by 'jpype1'"; # Converted to throw 2025-10-29
-2
View File
@@ -7859,8 +7859,6 @@ self: super: with self; {
jenkinsapi = callPackage ../development/python-modules/jenkinsapi { };
jfx-bridge = callPackage ../development/python-modules/jfx-bridge { };
jh2 = callPackage ../development/python-modules/jh2 { };
jianpu-ly = callPackage ../development/python-modules/jianpu-ly { };