lenovo-legion: build with qt6; modernize

This commit is contained in:
eljamm
2025-10-16 08:38:15 +02:00
parent 2b2672951f
commit 1eda97a42d
2 changed files with 9 additions and 4 deletions
+8 -3
View File
@@ -5,12 +5,13 @@
wrapQtAppsHook,
python3,
nix-update-script,
qtbase,
}:
python3.pkgs.buildPythonApplication rec {
pname = "lenovo-legion-app";
version = "0.0.20-unstable-2025-07-11";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "johnfanv2";
@@ -21,10 +22,14 @@ python3.pkgs.buildPythonApplication rec {
sourceRoot = "${src.name}/python/legion_linux";
nativeBuildInputs = [ wrapQtAppsHook ];
build-system = with python3.pkgs; [
setuptools
wrapQtAppsHook
];
propagatedBuildInputs = with python3.pkgs; [
dependencies = with python3.pkgs; [
pyqt6
qtbase
argcomplete
pillow
pyyaml
+1 -1
View File
@@ -11719,7 +11719,7 @@ with pkgs;
lemonbar-xft = callPackage ../applications/window-managers/lemonbar/xft.nix { };
lenovo-legion = libsForQt5.callPackage ../os-specific/linux/lenovo-legion/app.nix { };
lenovo-legion = qt6Packages.callPackage ../os-specific/linux/lenovo-legion/app.nix { };
libkiwix = callPackage ../applications/misc/kiwix/lib.nix { };