mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
kdePackages.qtstyleplugin-kvantum: nixfmt
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
41278d2923
commit
a9d0cd55df
@ -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,12 +39,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
buildInputs =
|
||||
[
|
||||
qtbase
|
||||
qtsvg
|
||||
libX11
|
||||
libXext
|
||||
] ++ lib.optionals isQt5 [ qtx11extras ]
|
||||
]
|
||||
++ lib.optionals isQt5 [ qtx11extras ]
|
||||
++ lib.optionals (!isQt5) [
|
||||
kwindowsystem
|
||||
qtwayland
|
||||
@ -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
|
||||
];
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user