Skip to content

Commit

Permalink
libsForQt5.qtstyleplugin-kvantum: 0.10.4 -> 0.10.6
Browse files Browse the repository at this point in the history
also fixes #34854 and correct license to GPL3

(cherry picked from commit 35049f9)
  • Loading branch information
bennyandresen authored and Mic92 committed Apr 13, 2018
1 parent f956b4f commit bcaf2ae
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions pkgs/development/libraries/qtstyleplugin-kvantum/default.nix
Expand Up @@ -2,29 +2,30 @@

stdenv.mkDerivation rec {
name = "qtstyleplugin-kvantum-${version}";
version = "0.10.4";
version = "0.10.6";

src = fetchFromGitHub {
owner = "tsujan";
repo = "Kvantum";
rev = "0527bb03f2252269fd382e11181a34ca72c96b4b";
sha256 = "0ky44s1fgqxraywagx1mv07yz76ppgiz3prq447db78wkwqg2d8p";
rev = "a6daa1a6df3c5d4abc7ea39ef7028ddea2addbf6";
sha256 = "1zns4x95h0ydiwx8yw0bmyg4lc2sy7annmdrg66sx753x3177zxp";
};

nativeBuildInputs = [ qmake qttools ];
buildInputs = [ qtbase qtsvg qtx11extras libX11 libXext ];

postUnpack = "sourceRoot=\${sourceRoot}/Kvantum";

postInstall= ''
mkdir -p $out/$qtPluginPrefix/styles
mv $NIX_QT5_TMP/$qtPluginPrefix/styles/libkvantum.so $out/$qtPluginPrefix/styles/libkvantum.so
postPatch = ''
# Fix plugin dir
substituteInPlace style/style.pro \
--replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix"
'';

meta = with stdenv.lib; {
description = "SVG-based Qt5 theme engine plus a config tool and extra themes";
homepage = "https://github.com/tsujan/Kvantum";
license = licenses.gpl2;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.bugworm ];
};
Expand Down

0 comments on commit bcaf2ae

Please sign in to comment.