diff --git a/pkgs/applications/misc/retool/default.nix b/pkgs/applications/misc/retool/default.nix index a88e719c6ddd..8d7811120979 100644 --- a/pkgs/applications/misc/retool/default.nix +++ b/pkgs/applications/misc/retool/default.nix @@ -19,17 +19,18 @@ python3.pkgs.buildPythonApplication { hash = "sha256-6y/7RR7O2xYKXdxaFtkRfnSlwygp/LRDUozUJo6ue7s="; }; - patches = [ - # pythonRelaxDepsHook will not work in this package until - # https://github.com/NixOS/nixpkgs/pull/248516 hits master - ./relax_deps.patch - ]; - nativeBuildInputs = with python3.pkgs; [ poetry-core + pythonRelaxDepsHook qt6.wrapQtAppsHook ]; + pythonRelaxDeps = true; + + # ERROR: Could not find a version that satisfies the requirement PySide6 (from retool) (from versions: none) + # ERROR: No matching distribution found for PySide6 + pythonRemoveDeps = [ "PySide6" ]; + buildInputs = [ qt6.qtbase ] ++ diff --git a/pkgs/applications/misc/retool/relax_deps.patch b/pkgs/applications/misc/retool/relax_deps.patch deleted file mode 100644 index 528d2b47d970..000000000000 --- a/pkgs/applications/misc/retool/relax_deps.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/pyproject.toml b/pyproject.toml -index 6e62347..34600a0 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -13,12 +13,14 @@ packages = [ - - [tool.poetry.dependencies] - python = ">=3.10,<3.12" --strictyaml = "^1.6.2" --lxml = "^4.9.2" --PySide6 = "^6.4.2" --validators = "^0.20.0" --alive-progress = "^3.0.1" --psutil = "^5.9.4" -+strictyaml = "*" -+lxml = "*" -+# ERROR: Could not find a version that satisfies the requirement PySide6 (from retool) (from versions: none) -+# ERROR: No matching distribution found for PySide6 -+# PySide6 = "*" -+validators = "*" -+alive-progress = "*" -+psutil = "*" - - [tool.poetry.scripts] - retool = "retool:main"