2019-02-18 03:31:01 +01:00
|
|
|
{ stdenv, fetchFromGitHub, qmake, qtbase, qtsvg, qtx11extras, kwindowsystem, libX11, libXext, qttools }:
|
2017-07-23 20:52:17 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-01-08 04:09:56 +01:00
|
|
|
pname = "qtstyleplugin-kvantum";
|
2019-03-26 03:17:59 +01:00
|
|
|
version = "0.11.0";
|
2017-07-23 20:52:17 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tsujan";
|
|
|
|
repo = "Kvantum";
|
2019-01-08 04:09:56 +01:00
|
|
|
rev = "V${version}";
|
2019-03-26 03:17:59 +01:00
|
|
|
sha256 = "0aqlv7mj7r9vjm6pvb8pv3cyx35lgz8rjjas3k8wfdr3sqyyy25g";
|
2017-07-23 20:52:17 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
2019-02-18 03:31:01 +01:00
|
|
|
buildInputs = [ qtbase qtsvg qtx11extras kwindowsystem libX11 libXext ];
|
2017-07-23 20:52:17 +02:00
|
|
|
|
2019-01-08 04:09:56 +01:00
|
|
|
sourceRoot = "source/Kvantum";
|
2017-07-23 20:52:17 +02:00
|
|
|
|
2018-04-12 14:31:57 +02:00
|
|
|
postPatch = ''
|
|
|
|
# Fix plugin dir
|
|
|
|
substituteInPlace style/style.pro \
|
|
|
|
--replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix"
|
2017-07-23 20:52:17 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "SVG-based Qt5 theme engine plus a config tool and extra themes";
|
|
|
|
homepage = "https://github.com/tsujan/Kvantum";
|
2018-04-12 14:31:57 +02:00
|
|
|
license = licenses.gpl3;
|
2017-07-23 20:52:17 +02:00
|
|
|
platforms = platforms.linux;
|
2017-07-23 21:43:56 +02:00
|
|
|
maintainers = [ maintainers.bugworm ];
|
2017-07-23 20:52:17 +02:00
|
|
|
};
|
|
|
|
}
|