Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

kdePackages.qtstyleplugin-kvantum: nixfmt

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>

+37 -31
+37 -31
pkgs/development/libraries/qtstyleplugin-kvantum/default.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchFromGitHub 4 - , fetchpatch 5 - , cmake 6 - , qmake 7 - , qtbase 8 - , qtsvg 9 - , qtx11extras ? null # Qt 5 only 10 - , kwindowsystem 11 - , qtwayland 12 - , libX11 13 - , libXext 14 - , qttools 15 - , wrapQtAppsHook 16 - , gitUpdater 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + fetchpatch, 6 + cmake, 7 + qmake, 8 + qtbase, 9 + qtsvg, 10 + qtx11extras ? null, # Qt 5 only 11 + kwindowsystem, 12 + qtwayland, 13 + libX11, 14 + libXext, 15 + qttools, 16 + wrapQtAppsHook, 17 + gitUpdater, 17 18 18 - , qt6Kvantum ? null 19 + qt6Kvantum ? null, 19 20 }: 20 21 let 21 22 isQt5 = lib.versionOlder qtbase.version "6"; ··· 38 39 wrapQtAppsHook 39 40 ]; 40 41 41 - buildInputs = [ 42 - qtbase 43 - qtsvg 44 - libX11 45 - libXext 46 - ] ++ lib.optionals isQt5 [ qtx11extras ] 47 - ++ lib.optionals (!isQt5) [ 48 - kwindowsystem 49 - qtwayland 50 - ]; 42 + buildInputs = 43 + [ 44 + qtbase 45 + qtsvg 46 + libX11 47 + libXext 48 + ] 49 + ++ lib.optionals isQt5 [ qtx11extras ] 50 + ++ lib.optionals (!isQt5) [ 51 + kwindowsystem 52 + qtwayland 53 + ]; 51 54 52 55 sourceRoot = "${finalAttrs.src.name}/Kvantum"; 53 56 ··· 80 83 rev-prefix = "V"; 81 84 }; 82 85 83 - meta = with lib; { 86 + meta = { 84 87 description = "SVG-based Qt5 theme engine plus a config tool and extra themes"; 85 88 homepage = "https://github.com/tsujan/Kvantum"; 86 - license = licenses.gpl3Plus; 87 - platforms = platforms.linux; 88 - maintainers = with maintainers; [ romildo Scrumplex ]; 89 + license = lib.licenses.gpl3Plus; 90 + platforms = lib.platforms.linux; 91 + maintainers = with lib.maintainers; [ 92 + romildo 93 + Scrumplex 94 + ]; 89 95 }; 90 96 })