mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +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
|
lib,
|
||||||
, fetchFromGitHub
|
stdenv,
|
||||||
, fetchpatch
|
fetchFromGitHub,
|
||||||
, cmake
|
fetchpatch,
|
||||||
, qmake
|
cmake,
|
||||||
, qtbase
|
qmake,
|
||||||
, qtsvg
|
qtbase,
|
||||||
, qtx11extras ? null # Qt 5 only
|
qtsvg,
|
||||||
, kwindowsystem
|
qtx11extras ? null, # Qt 5 only
|
||||||
, qtwayland
|
kwindowsystem,
|
||||||
, libX11
|
qtwayland,
|
||||||
, libXext
|
libX11,
|
||||||
, qttools
|
libXext,
|
||||||
, wrapQtAppsHook
|
qttools,
|
||||||
, gitUpdater
|
wrapQtAppsHook,
|
||||||
|
gitUpdater,
|
||||||
|
|
||||||
, qt6Kvantum ? null
|
qt6Kvantum ? null,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
isQt5 = lib.versionOlder qtbase.version "6";
|
isQt5 = lib.versionOlder qtbase.version "6";
|
||||||
@ -38,16 +39,18 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
wrapQtAppsHook
|
wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
qtbase
|
[
|
||||||
qtsvg
|
qtbase
|
||||||
libX11
|
qtsvg
|
||||||
libXext
|
libX11
|
||||||
] ++ lib.optionals isQt5 [ qtx11extras ]
|
libXext
|
||||||
++ lib.optionals (!isQt5) [
|
]
|
||||||
kwindowsystem
|
++ lib.optionals isQt5 [ qtx11extras ]
|
||||||
qtwayland
|
++ lib.optionals (!isQt5) [
|
||||||
];
|
kwindowsystem
|
||||||
|
qtwayland
|
||||||
|
];
|
||||||
|
|
||||||
sourceRoot = "${finalAttrs.src.name}/Kvantum";
|
sourceRoot = "${finalAttrs.src.name}/Kvantum";
|
||||||
|
|
||||||
@ -80,11 +83,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
rev-prefix = "V";
|
rev-prefix = "V";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "SVG-based Qt5 theme engine plus a config tool and extra themes";
|
description = "SVG-based Qt5 theme engine plus a config tool and extra themes";
|
||||||
homepage = "https://github.com/tsujan/Kvantum";
|
homepage = "https://github.com/tsujan/Kvantum";
|
||||||
license = licenses.gpl3Plus;
|
license = lib.licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
maintainers = with maintainers; [ romildo Scrumplex ];
|
maintainers = with lib.maintainers; [
|
||||||
|
romildo
|
||||||
|
Scrumplex
|
||||||
|
];
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user