lenovo-legion: build with qt6; modernize
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user