lenovo-legion: 0.0.20-unstable-2025-07-11 -> 0.0.20-unstable-2026-05-12

Closes #525082

Assisted-by: pi coding agent / Mika (OpenAI GPT-5.5)
This commit is contained in:
Gerhard Schwanzer
2026-06-22 15:30:21 +02:00
parent c5960ac784
commit 3424802497
+3 -7
View File
@@ -9,14 +9,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "lenovo-legion-app";
version = "0.0.20-unstable-2025-07-11";
version = "0.0.20-unstable-2026-05-12";
pyproject = true;
src = fetchFromGitHub {
owner = "johnfanv2";
repo = "LenovoLegionLinux";
rev = "f559df04cc0705b2b181dfd0404110a4d1d6e2a9";
hash = "sha256-WXGDlykH6aBUVotmDcGZ8Y/zC8iBAv57u3hXRnfTaSo=";
rev = "7c19579d13ce686cf1e237699b9a78e80d03c977";
hash = "sha256-gTlUrbNKCUQ+g70StlqspDn90wKW2scssKPZqaegzTY=";
};
sourceRoot = "${src.name}/python/legion_linux";
@@ -38,10 +38,6 @@ python3.pkgs.buildPythonApplication rec {
postPatch = ''
# only fixup application (legion-linux-gui), service (legiond) currently not installed so do not fixup
# version
substituteInPlace ./setup.cfg \
--replace-fail "_VERSION" "${builtins.head (lib.splitString "-" version)}"
# /etc
substituteInPlace ./legion_linux/legion.py \
--replace-fail "/etc/legion_linux" "$out/share/legion_linux"