diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2019-02-05 21:13:28 -0200 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2019-02-12 09:03:50 -0200 |
commit | 308376a32aa190954b8ff6fcd193f712dde9fdc9 (patch) | |
tree | 8fdf41537444584ddb3105b0d99eaf74a71223de /pkgs/desktops/lxqt | |
parent | 13fab662204ab1456cd4dca74bdde24416da8754 (diff) |
lxqt-admin: 0.13.0 -> 0.14.0
Diffstat (limited to 'pkgs/desktops/lxqt')
-rw-r--r-- | pkgs/desktops/lxqt/lxqt-admin/default.nix | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/desktops/lxqt/lxqt-admin/default.nix b/pkgs/desktops/lxqt/lxqt-admin/default.nix index a92c352087e80..528f9a390f92b 100644 --- a/pkgs/desktops/lxqt/lxqt-admin/default.nix +++ b/pkgs/desktops/lxqt/lxqt-admin/default.nix @@ -1,15 +1,14 @@ { stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtx11extras, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, polkit-qt }: stdenv.mkDerivation rec { - name = "${pname}-${version}"; pname = "lxqt-admin"; - version = "0.13.0"; + version = "0.14.0"; src = fetchFromGitHub { owner = "lxqt"; repo = pname; rev = version; - sha256 = "1nsf8sbgmfanvcxw67drhz1wrizkcd0p87jwr1za5rcgd50bi2yy"; + sha256 = "0sdb514hgha5yvmbzi6nm1yx1rmbkh5fam09ybidjwpdwl2l4pxx"; }; nativeBuildInputs = [ @@ -27,12 +26,15 @@ stdenv.mkDerivation rec { polkit-qt ]; - patchPhase = '' + postPatch = '' sed "s|\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR}|''${out}/share/polkit-1/actions|" \ -i lxqt-admin-user/CMakeLists.txt - ''; - cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ]; + for f in lxqt-admin-{user,time}/CMakeLists.txt; do + substituteInPlace $f \ + --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations" + done + ''; meta = with stdenv.lib; { description = "LXQt system administration tool"; |