From ad6f920cd705e97b6084605e81b7bcb4fbfcc43c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo?= Date: Thu, 18 Apr 2024 14:21:40 -0300 Subject: [PATCH] lxqt.lxqt-admin: 1.4.0 -> 2.0.0 --- pkgs/desktops/lxqt/lxqt-admin/default.nix | 28 ++++++++++++----------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/pkgs/desktops/lxqt/lxqt-admin/default.nix b/pkgs/desktops/lxqt/lxqt-admin/default.nix index fc911cf27ea5..e83b1788dc3a 100644 --- a/pkgs/desktops/lxqt/lxqt-admin/default.nix +++ b/pkgs/desktops/lxqt/lxqt-admin/default.nix @@ -1,47 +1,49 @@ { lib -, mkDerivation +, stdenv , fetchFromGitHub , cmake -, lxqt-build-tools -, qtx11extras -, qttools -, qtsvg , kwindowsystem , liblxqt , libqtxdg -, polkit-qt +, lxqt-build-tools +, polkit-qt-1 +, qtsvg +, qttools +, qtwayland +, wrapQtAppsHook , gitUpdater }: -mkDerivation rec { +stdenv.mkDerivation rec { pname = "lxqt-admin"; - version = "1.4.0"; + version = "2.0.0"; src = fetchFromGitHub { owner = "lxqt"; repo = pname; rev = version; - hash = "sha256-wPK3TMBC359GnisjpdY2zU+Jnvr7Hdzb6r+HuUQC3mo="; + hash = "sha256-Ps+XiCA6OmnsYj0D+pxpvRxfIZfRGFBbZ0t/IPZjlv8="; }; nativeBuildInputs = [ cmake lxqt-build-tools qttools + wrapQtAppsHook ]; buildInputs = [ - qtx11extras - qtsvg kwindowsystem liblxqt libqtxdg - polkit-qt + polkit-qt-1 + qtsvg + qtwayland ]; postPatch = '' for f in lxqt-admin-{time,user}/CMakeLists.txt; do - substituteInPlace $f --replace \ + substituteInPlace $f --replace-fail \ "\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR}" \ "$out/share/polkit-1/actions" done