kdePackages.qtstyleplugin-kvantum: nixfmt

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2024-10-25 09:56:50 +02:00
parent 41278d2923
commit a9d0cd55df
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951

View File

@ -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
];
};
})