From 41278d292303b87e2571d7c2953eefd4f270b4d9 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Fri, 25 Oct 2024 09:47:38 +0200 Subject: [PATCH 1/2] kdePackages.qtstyleplugin-kvantum: 1.1.2 -> 1.1.3 Signed-off-by: Sefa Eyeoglu --- .../libraries/qtstyleplugin-kvantum/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/qtstyleplugin-kvantum/default.nix b/pkgs/development/libraries/qtstyleplugin-kvantum/default.nix index 3d44f556a0ff..7b57ff07bb7c 100644 --- a/pkgs/development/libraries/qtstyleplugin-kvantum/default.nix +++ b/pkgs/development/libraries/qtstyleplugin-kvantum/default.nix @@ -6,8 +6,8 @@ , qmake , qtbase , qtsvg -, qtx11extras ? null -, kwindowsystem ? null +, qtx11extras ? null # Qt 5 only +, kwindowsystem , qtwayland , libX11 , libXext @@ -22,13 +22,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "qtstyleplugin-kvantum${lib.optionalString isQt5 "5"}"; - version = "1.1.2"; + version = "1.1.3"; src = fetchFromGitHub { owner = "tsujan"; repo = "Kvantum"; rev = "V${finalAttrs.version}"; - hash = "sha256-1aeXcN9DwPE8CoaxCqCNL9UEcRHJdaKxS7Ivjp3YNN8="; + hash = "sha256-x2XsJ26y9y6IF9aY0fmAcvO4zmwLjvE2Lfvzw+GqchM="; }; nativeBuildInputs = [ @@ -43,9 +43,11 @@ stdenv.mkDerivation (finalAttrs: { qtsvg libX11 libXext - kwindowsystem ] ++ lib.optionals isQt5 [ qtx11extras ] - ++ lib.optionals (!isQt5) [ qtwayland ]; + ++ lib.optionals (!isQt5) [ + kwindowsystem + qtwayland + ]; sourceRoot = "${finalAttrs.src.name}/Kvantum"; From a9d0cd55df0b3d7ed37c8efd4aaae3f528697d7e Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Fri, 25 Oct 2024 09:56:50 +0200 Subject: [PATCH 2/2] kdePackages.qtstyleplugin-kvantum: nixfmt Signed-off-by: Sefa Eyeoglu --- .../qtstyleplugin-kvantum/default.nix | 68 ++++++++++--------- 1 file changed, 37 insertions(+), 31 deletions(-) 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 + ]; }; })