From f8f303279a6de8f9570fe0eb32cdff9cf4297330 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 22 Mar 2025 19:54:57 +0100 Subject: [PATCH] python313Packages.ghidra-bridge: refactor --- pkgs/development/python-modules/ghidra-bridge/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ghidra-bridge/default.nix b/pkgs/development/python-modules/ghidra-bridge/default.nix index 22683a46f6fc..2c50519da9bd 100644 --- a/pkgs/development/python-modules/ghidra-bridge/default.nix +++ b/pkgs/development/python-modules/ghidra-bridge/default.nix @@ -4,7 +4,6 @@ fetchFromGitHub, jfx-bridge, setuptools, - wheel, }: buildPythonPackage rec { @@ -20,6 +19,7 @@ buildPythonPackage rec { }; patches = [ ./no-invoke-git.patch ]; + postPatch = '' substituteInPlace ./setup.py --subst-var-by version ${version} ''; @@ -28,11 +28,15 @@ buildPythonPackage rec { dependencies = [ jfx-bridge ]; + # Tests require a running server instance + doCheck = false; + pythonImportsCheck = [ "ghidra_bridge" ]; meta = { - description = "Python 3 bridge to Ghidra's Python scripting"; + description = "Python bridge to Ghidra's Python scripting"; homepage = "https://github.com/justfoxing/ghidra_bridge"; + changelog = "https://github.com/justfoxing/ghidra_bridge/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ scoder12 ]; };