libsForQt5.qtstyleplugin-kvantum: 0.10.4 -> 0.10.6
also fixes #34854 and correct license to GPL3
This commit is contained in:
parent
9a9c38eee8
commit
35049f9e61
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qtstyleplugin-kvantum-${version}";
|
name = "qtstyleplugin-kvantum-${version}";
|
||||||
version = "0.10.4";
|
version = "0.10.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tsujan";
|
owner = "tsujan";
|
||||||
repo = "Kvantum";
|
repo = "Kvantum";
|
||||||
rev = "0527bb03f2252269fd382e11181a34ca72c96b4b";
|
rev = "a6daa1a6df3c5d4abc7ea39ef7028ddea2addbf6";
|
||||||
sha256 = "0ky44s1fgqxraywagx1mv07yz76ppgiz3prq447db78wkwqg2d8p";
|
sha256 = "1zns4x95h0ydiwx8yw0bmyg4lc2sy7annmdrg66sx753x3177zxp";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake qttools ];
|
nativeBuildInputs = [ qmake qttools ];
|
||||||
|
@ -16,15 +16,16 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
postUnpack = "sourceRoot=\${sourceRoot}/Kvantum";
|
postUnpack = "sourceRoot=\${sourceRoot}/Kvantum";
|
||||||
|
|
||||||
postInstall= ''
|
postPatch = ''
|
||||||
mkdir -p $out/$qtPluginPrefix/styles
|
# Fix plugin dir
|
||||||
mv $NIX_QT5_TMP/$qtPluginPrefix/styles/libkvantum.so $out/$qtPluginPrefix/styles/libkvantum.so
|
substituteInPlace style/style.pro \
|
||||||
|
--replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
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.gpl2;
|
license = licenses.gpl3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.bugworm ];
|
maintainers = [ maintainers.bugworm ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue