libsForQt5.qtstyleplugin-kvantum: add update script

This commit is contained in:
José Romildo 2022-05-19 14:35:41 -03:00
parent c1aec2157f
commit 6238d2fe76

View File

@ -1,5 +1,6 @@
{ lib, stdenv, fetchFromGitHub, qmake, qtbase, qtsvg, qtx11extras, kwindowsystem { lib, stdenv, fetchFromGitHub, qmake, qtbase, qtsvg, qtx11extras, kwindowsystem
, libX11, libXext, qttools, wrapQtAppsHook , libX11, libXext, qttools, wrapQtAppsHook
, gitUpdater
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -29,6 +30,12 @@ stdenv.mkDerivation rec {
--replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix" --replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix"
''; '';
passthru.updateScript = gitUpdater {
inherit pname version;
attrPath = "libsForQt5.${pname}";
rev-prefix = "V";
};
meta = with lib; { meta = with 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";