a425ba4985
GitOrigin-RevId: 5b091d4fbe3b7b7493c3b46fe0842e4b30ea24b3
40 lines
1 KiB
Nix
40 lines
1 KiB
Nix
{ lib, stdenv, fetchFromGitHub, qmake, qtbase, qtsvg, qtx11extras, kwindowsystem
|
|
, libX11, libXext, qttools, wrapQtAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qtstyleplugin-kvantum";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tsujan";
|
|
repo = "Kvantum";
|
|
rev = "V${version}";
|
|
sha256 = "0yvxj7r9z890nfq5cadw7ys144c2mnvaplvx4v4ndv7238b741l8";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
qmake qttools wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase qtsvg qtx11extras kwindowsystem libX11 libXext
|
|
];
|
|
|
|
sourceRoot = "source/Kvantum";
|
|
|
|
postPatch = ''
|
|
# Fix plugin dir
|
|
substituteInPlace style/style.pro \
|
|
--replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
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;
|
|
broken = lib.versionOlder qtbase.version "5.14";
|
|
maintainers = [ maintainers.bugworm ];
|
|
};
|
|
}
|