lxqt: add updater script to individual packages

This commit is contained in:
José Romildo Malaquias 2020-04-26 11:53:59 -03:00
parent d50107d17b
commit f27301cd32
30 changed files with 90 additions and 3 deletions

View File

@ -37,6 +37,8 @@ mkDerivation rec {
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" \ --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" \
''; '';
passthru.updateScript = lxqt.lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "GUI configuration tool for compton X composite manager"; description = "GUI configuration tool for compton X composite manager";
homepage = "https://github.com/lxqt/compton-conf"; homepage = "https://github.com/lxqt/compton-conf";

View File

@ -11,10 +11,11 @@
, menu-cache , menu-cache
, qtx11extras , qtx11extras
, qttools , qttools
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
pname = "libfm-qt-unstable"; pname = "libfm-qt";
version = "2019-09-22"; version = "2019-09-22";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -42,6 +43,8 @@ mkDerivation rec {
menu-cache menu-cache
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "Core library of PCManFM-Qt (Qt binding for libfm)"; description = "Core library of PCManFM-Qt (Qt binding for libfm)";
homepage = "https://github.com/lxqt/libfm-qt"; homepage = "https://github.com/lxqt/libfm-qt";

View File

@ -10,6 +10,7 @@
, polkit-qt , polkit-qt
, kwindowsystem , kwindowsystem
, xorg , xorg
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -42,6 +43,8 @@ mkDerivation rec {
sed -i "s|\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR}|''${out}/share/polkit-1/actions|" CMakeLists.txt sed -i "s|\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR}|''${out}/share/polkit-1/actions|" CMakeLists.txt
''; '';
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "Core utility library for all LXQt components"; description = "Core utility library for all LXQt components";
homepage = "https://github.com/lxqt/liblxqt"; homepage = "https://github.com/lxqt/liblxqt";

View File

@ -5,6 +5,7 @@
, qtbase , qtbase
, qtsvg , qtsvg
, lxqt-build-tools , lxqt-build-tools
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -36,6 +37,8 @@ mkDerivation rec {
) )
''; '';
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "Qt implementation of freedesktop.org xdg specs"; description = "Qt implementation of freedesktop.org xdg specs";
homepage = "https://github.com/lxqt/libqtxdg"; homepage = "https://github.com/lxqt/libqtxdg";

View File

@ -4,6 +4,7 @@
, cmake , cmake
, qtbase , qtbase
, lxqt-build-tools , lxqt-build-tools
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -26,6 +27,8 @@ mkDerivation rec {
qtbase qtbase
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "Library used to query system info and statistics"; description = "Library used to query system info and statistics";
homepage = "https://github.com/lxqt/libsysstat"; homepage = "https://github.com/lxqt/libsysstat";

View File

@ -11,6 +11,7 @@
, lxqt-build-tools , lxqt-build-tools
, libfm-qt , libfm-qt
, libexif , libexif
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -41,6 +42,8 @@ mkDerivation rec {
libexif libexif
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "The image viewer and screenshot tool for lxqt"; description = "The image viewer and screenshot tool for lxqt";
homepage = "https://github.com/lxqt/lximage-qt"; homepage = "https://github.com/lxqt/lximage-qt";

View File

@ -9,6 +9,7 @@
, kwindowsystem , kwindowsystem
, liblxqt , liblxqt
, libqtxdg , libqtxdg
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -36,6 +37,8 @@ mkDerivation rec {
libqtxdg libqtxdg
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "Dialogue window providing information about LXQt and the system it's running on"; description = "Dialogue window providing information about LXQt and the system it's running on";
homepage = "https://github.com/lxqt/lxqt-about"; homepage = "https://github.com/lxqt/lxqt-about";

View File

@ -10,6 +10,7 @@
, liblxqt , liblxqt
, libqtxdg , libqtxdg
, polkit-qt , polkit-qt
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -43,6 +44,8 @@ mkDerivation rec {
-i lxqt-admin-user/CMakeLists.txt -i lxqt-admin-user/CMakeLists.txt
''; '';
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "LXQt system administration tool"; description = "LXQt system administration tool";
homepage = "https://github.com/lxqt/lxqt-admin"; homepage = "https://github.com/lxqt/lxqt-admin";

View File

@ -9,11 +9,11 @@
, qtbase , qtbase
, qttools , qttools
, qtx11extras , qtx11extras
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
# pname = "lxqt-archiver"; pname = "lxqt-archiver";
pname = "lxqt-archiver-unstable";
version = "2019-09-25"; version = "2019-09-25";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -41,6 +41,8 @@ mkDerivation rec {
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "Archive tool for the LXQt desktop environment"; description = "Archive tool for the LXQt desktop environment";
homepage = "https://github.com/lxqt/lxqt-archiver/"; homepage = "https://github.com/lxqt/lxqt-archiver/";

View File

@ -6,6 +6,7 @@
, pcre , pcre
, qtbase , qtbase
, glib , glib
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -40,6 +41,8 @@ mkDerivation rec {
cp ${./LXQtConfigVars.cmake} $out/share/cmake/lxqt-build-tools/modules/LXQtConfigVars.cmake cp ${./LXQtConfigVars.cmake} $out/share/cmake/lxqt-build-tools/modules/LXQtConfigVars.cmake
''; '';
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "Various packaging tools and scripts for LXQt applications"; description = "Various packaging tools and scripts for LXQt applications";
homepage = "https://github.com/lxqt/lxqt-build-tools"; homepage = "https://github.com/lxqt/lxqt-build-tools";

View File

@ -13,6 +13,7 @@
, liblxqt , liblxqt
, libqtxdg , libqtxdg
, xorg , xorg
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -54,6 +55,8 @@ mkDerivation rec {
sed -i "/\''${XORG_LIBINPUT_INCLUDE_DIRS}/a ${xorg.xf86inputlibinput.dev}/include/xorg" lxqt-config-input/CMakeLists.txt sed -i "/\''${XORG_LIBINPUT_INCLUDE_DIRS}/a ${xorg.xf86inputlibinput.dev}/include/xorg" lxqt-config-input/CMakeLists.txt
''; '';
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "Tools to configure LXQt and the underlying operating system"; description = "Tools to configure LXQt and the underlying operating system";
homepage = "https://github.com/lxqt/lxqt-config"; homepage = "https://github.com/lxqt/lxqt-config";

View File

@ -10,6 +10,7 @@
, kwindowsystem , kwindowsystem
, liblxqt , liblxqt
, libqtxdg , libqtxdg
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -38,6 +39,8 @@ mkDerivation rec {
libqtxdg libqtxdg
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "LXQt service for global keyboard shortcuts registration"; description = "LXQt service for global keyboard shortcuts registration";
homepage = "https://github.com/lxqt/lxqt-globalkeys"; homepage = "https://github.com/lxqt/lxqt-globalkeys";

View File

@ -10,6 +10,7 @@
, liblxqt , liblxqt
, libqtxdg , libqtxdg
, qtx11extras , qtx11extras
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -38,6 +39,8 @@ mkDerivation rec {
qtx11extras qtx11extras
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "The LXQt notification daemon"; description = "The LXQt notification daemon";
homepage = "https://github.com/lxqt/lxqt-notificationd"; homepage = "https://github.com/lxqt/lxqt-notificationd";

View File

@ -10,6 +10,7 @@
, kwindowsystem , kwindowsystem
, liblxqt , liblxqt
, libqtxdg , libqtxdg
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -38,6 +39,8 @@ mkDerivation rec {
libqtxdg libqtxdg
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "GUI to query passwords on behalf of SSH agents"; description = "GUI to query passwords on behalf of SSH agents";
homepage = "https://github.com/lxqt/lxqt-openssh-askpass"; homepage = "https://github.com/lxqt/lxqt-openssh-askpass";

View File

@ -25,6 +25,7 @@
, lxmenu-data , lxmenu-data
, pcre , pcre
, libXdamage , libXdamage
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -69,6 +70,8 @@ mkDerivation rec {
libXdamage libXdamage
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "The LXQt desktop panel"; description = "The LXQt desktop panel";
homepage = "https://github.com/lxqt/lxqt-panel"; homepage = "https://github.com/lxqt/lxqt-panel";

View File

@ -13,6 +13,7 @@
, liblxqt , liblxqt
, libqtxdg , libqtxdg
, pcre , pcre
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -44,6 +45,8 @@ mkDerivation rec {
pcre pcre
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "The LXQt PolicyKit agent"; description = "The LXQt PolicyKit agent";
homepage = "https://github.com/lxqt/lxqt-policykit"; homepage = "https://github.com/lxqt/lxqt-policykit";

View File

@ -12,6 +12,7 @@
, kidletime , kidletime
, liblxqt , liblxqt
, libqtxdg , libqtxdg
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -42,6 +43,8 @@ mkDerivation rec {
libqtxdg libqtxdg
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "Power management module for LXQt"; description = "Power management module for LXQt";
homepage = "https://github.com/lxqt/lxqt-powermanagement"; homepage = "https://github.com/lxqt/lxqt-powermanagement";

View File

@ -10,6 +10,7 @@
, libdbusmenu , libdbusmenu
, libqtxdg , libqtxdg
, libfm-qt , libfm-qt
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -43,6 +44,8 @@ mkDerivation rec {
--replace "DESTINATION \"\''${QT_PLUGINS_DIR}" "DESTINATION \"$qtPluginPrefix" --replace "DESTINATION \"\''${QT_PLUGINS_DIR}" "DESTINATION \"$qtPluginPrefix"
''; '';
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "LXQt Qt platform integration plugin"; description = "LXQt Qt platform integration plugin";
homepage = "https://github.com/lxqt/lxqt-qtplugin"; homepage = "https://github.com/lxqt/lxqt-qtplugin";

View File

@ -15,6 +15,7 @@
, menu-cache , menu-cache
, muparser , muparser
, pcre , pcre
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -48,6 +49,8 @@ mkDerivation rec {
pcre pcre
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "Tool used to launch programs quickly by typing their names"; description = "Tool used to launch programs quickly by typing their names";
homepage = "https://github.com/lxqt/lxqt-runner"; homepage = "https://github.com/lxqt/lxqt-runner";

View File

@ -13,6 +13,7 @@
, libqtxdg , libqtxdg
, xorg , xorg
, xdg-user-dirs , xdg-user-dirs
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -45,6 +46,8 @@ mkDerivation rec {
xdg-user-dirs xdg-user-dirs
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "An alternative session manager ported from the original razor-session"; description = "An alternative session manager ported from the original razor-session";
homepage = "https://github.com/lxqt/lxqt-session"; homepage = "https://github.com/lxqt/lxqt-session";

View File

@ -11,6 +11,7 @@
, liblxqt , liblxqt
, libqtxdg , libqtxdg
, sudo , sudo
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -40,6 +41,8 @@ mkDerivation rec {
sudo sudo
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "GUI frontend for sudo/su"; description = "GUI frontend for sudo/su";
homepage = "https://github.com/lxqt/lxqt-sudo"; homepage = "https://github.com/lxqt/lxqt-sudo";

View File

@ -3,6 +3,7 @@
, fetchFromGitHub , fetchFromGitHub
, cmake , cmake
, lxqt-build-tools , lxqt-build-tools
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -21,6 +22,8 @@ mkDerivation rec {
lxqt-build-tools lxqt-build-tools
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "Themes, graphics and icons for LXQt"; description = "Themes, graphics and icons for LXQt";
homepage = "https://github.com/lxqt/lxqt-themes"; homepage = "https://github.com/lxqt/lxqt-themes";

View File

@ -10,6 +10,7 @@
, xorg , xorg
, lxqt-build-tools , lxqt-build-tools
, openbox , openbox
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -40,6 +41,8 @@ mkDerivation rec {
openbox openbox
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "The Qt port of obconf, the Openbox configuration tool"; description = "The Qt port of obconf, the Openbox configuration tool";
homepage = "https://github.com/lxqt/obconf-qt"; homepage = "https://github.com/lxqt/obconf-qt";

View File

@ -36,6 +36,8 @@ mkDerivation rec {
pcre pcre
]; ];
passthru.updateScript = lxqt.lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "A Pulseaudio mixer in Qt (port of pavucontrol)"; description = "A Pulseaudio mixer in Qt (port of pavucontrol)";
homepage = "https://github.com/lxqt/pavucontrol-qt"; homepage = "https://github.com/lxqt/pavucontrol-qt";

View File

@ -10,6 +10,7 @@
, libfm-qt , libfm-qt
, menu-cache , menu-cache
, lxmenu-data , lxmenu-data
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -39,6 +40,8 @@ mkDerivation rec {
lxmenu-data lxmenu-data
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "File manager and desktop icon manager (Qt port of PCManFM and libfm)"; description = "File manager and desktop icon manager (Qt port of PCManFM and libfm)";
homepage = "https://github.com/lxqt/pcmanfm-qt"; homepage = "https://github.com/lxqt/pcmanfm-qt";

View File

@ -4,6 +4,7 @@
, cmake , cmake
, qtbase , qtbase
, qttools , qttools
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -26,6 +27,8 @@ mkDerivation rec {
qttools qttools
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "Cross-platform clipboard history applet"; description = "Cross-platform clipboard history applet";
homepage = "https://github.com/pvanek/qlipper"; homepage = "https://github.com/pvanek/qlipper";

View File

@ -6,6 +6,7 @@
, qtx11extras , qtx11extras
, qttools , qttools
, lxqt-build-tools , lxqt-build-tools
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -30,6 +31,8 @@ mkDerivation rec {
qttools qttools
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "Qt based process manager"; description = "Qt based process manager";
homepage = "https://github.com/lxqt/qps"; homepage = "https://github.com/lxqt/qps";

View File

@ -7,6 +7,7 @@
, qtbase , qtbase
, qttools , qttools
, qtx11extras , qtx11extras
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -32,6 +33,8 @@ mkDerivation rec {
qtermwidget qtermwidget
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "A lightweight Qt-based terminal emulator"; description = "A lightweight Qt-based terminal emulator";
homepage = "https://github.com/lxqt/qterminal"; homepage = "https://github.com/lxqt/qterminal";

View File

@ -5,6 +5,7 @@
, qtbase , qtbase
, qttools , qttools
, lxqt-build-tools , lxqt-build-tools
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -28,6 +29,8 @@ mkDerivation rec {
qttools qttools
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "A terminal emulator widget for Qt 5"; description = "A terminal emulator widget for Qt 5";
homepage = "https://github.com/lxqt/qtermwidget"; homepage = "https://github.com/lxqt/qtermwidget";

View File

@ -11,6 +11,7 @@
, libqtxdg , libqtxdg
, xorg , xorg
, autoPatchelfHook , autoPatchelfHook
, lxqtUpdateScript
}: }:
mkDerivation rec { mkDerivation rec {
@ -41,6 +42,8 @@ mkDerivation rec {
xorg.libXdmcp xorg.libXdmcp
]; ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; { meta = with lib; {
description = "Crossplatform tool for fast making screenshots"; description = "Crossplatform tool for fast making screenshots";
homepage = "https://github.com/lxqt/screengrab"; homepage = "https://github.com/lxqt/screengrab";