diff --git a/pkgs/development/libraries/qtstyleplugin-kvantum/default.nix b/pkgs/development/libraries/qtstyleplugin-kvantum/default.nix index 7b57ff07bb7c..20b8ea9b43db 100644 --- a/pkgs/development/libraries/qtstyleplugin-kvantum/default.nix +++ b/pkgs/development/libraries/qtstyleplugin-kvantum/default.nix @@ -1,21 +1,22 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchpatch -, cmake -, qmake -, qtbase -, qtsvg -, qtx11extras ? null # Qt 5 only -, kwindowsystem -, qtwayland -, libX11 -, libXext -, qttools -, wrapQtAppsHook -, gitUpdater +{ + lib, + stdenv, + fetchFromGitHub, + fetchpatch, + cmake, + qmake, + qtbase, + qtsvg, + qtx11extras ? null, # Qt 5 only + kwindowsystem, + qtwayland, + libX11, + libXext, + qttools, + wrapQtAppsHook, + gitUpdater, -, qt6Kvantum ? null + qt6Kvantum ? null, }: let isQt5 = lib.versionOlder qtbase.version "6"; @@ -38,16 +39,18 @@ stdenv.mkDerivation (finalAttrs: { wrapQtAppsHook ]; - buildInputs = [ - qtbase - qtsvg - libX11 - libXext - ] ++ lib.optionals isQt5 [ qtx11extras ] - ++ lib.optionals (!isQt5) [ - kwindowsystem - qtwayland - ]; + buildInputs = + [ + qtbase + qtsvg + libX11 + libXext + ] + ++ lib.optionals isQt5 [ qtx11extras ] + ++ lib.optionals (!isQt5) [ + kwindowsystem + qtwayland + ]; sourceRoot = "${finalAttrs.src.name}/Kvantum"; @@ -80,11 +83,14 @@ stdenv.mkDerivation (finalAttrs: { rev-prefix = "V"; }; - meta = with lib; { + meta = { description = "SVG-based Qt5 theme engine plus a config tool and extra themes"; homepage = "https://github.com/tsujan/Kvantum"; - license = licenses.gpl3Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ romildo Scrumplex ]; + license = lib.licenses.gpl3Plus; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ + romildo + Scrumplex + ]; }; })