retool: use pythonRelaxDepsHook

authored by

Thiago Kenji Okada and committed by
Anderson Torres
a5d727ed 54bc9b45

+7 -31
+7 -6
pkgs/applications/misc/retool/default.nix
··· 19 19 hash = "sha256-6y/7RR7O2xYKXdxaFtkRfnSlwygp/LRDUozUJo6ue7s="; 20 20 }; 21 21 22 - patches = [ 23 - # pythonRelaxDepsHook will not work in this package until 24 - # https://github.com/NixOS/nixpkgs/pull/248516 hits master 25 - ./relax_deps.patch 26 - ]; 27 - 28 22 nativeBuildInputs = with python3.pkgs; [ 29 23 poetry-core 24 + pythonRelaxDepsHook 30 25 qt6.wrapQtAppsHook 31 26 ]; 27 + 28 + pythonRelaxDeps = true; 29 + 30 + # ERROR: Could not find a version that satisfies the requirement PySide6 (from retool) (from versions: none) 31 + # ERROR: No matching distribution found for PySide6 32 + pythonRemoveDeps = [ "PySide6" ]; 32 33 33 34 buildInputs = [ 34 35 qt6.qtbase
-25
pkgs/applications/misc/retool/relax_deps.patch
··· 1 - diff --git a/pyproject.toml b/pyproject.toml 2 - index 6e62347..34600a0 100644 3 - --- a/pyproject.toml 4 - +++ b/pyproject.toml 5 - @@ -13,12 +13,14 @@ packages = [ 6 - 7 - [tool.poetry.dependencies] 8 - python = ">=3.10,<3.12" 9 - -strictyaml = "^1.6.2" 10 - -lxml = "^4.9.2" 11 - -PySide6 = "^6.4.2" 12 - -validators = "^0.20.0" 13 - -alive-progress = "^3.0.1" 14 - -psutil = "^5.9.4" 15 - +strictyaml = "*" 16 - +lxml = "*" 17 - +# ERROR: Could not find a version that satisfies the requirement PySide6 (from retool) (from versions: none) 18 - +# ERROR: No matching distribution found for PySide6 19 - +# PySide6 = "*" 20 - +validators = "*" 21 - +alive-progress = "*" 22 - +psutil = "*" 23 - 24 - [tool.poetry.scripts] 25 - retool = "retool:main"