diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2019-02-05 21:13:39 -0200 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2019-02-12 09:03:50 -0200 |
commit | d4514a83d8932058f3da3040393b6a442d1dd945 (patch) | |
tree | 02aaea005406a25e27edcf9fc6180e16e1259b4e /pkgs/desktops/lxqt | |
parent | 9e5b3d5368eeb853114bbfee4f0f2d730a225e7d (diff) |
lxqt-notificationd: 0.13.0 -> 0.14.0
Diffstat (limited to 'pkgs/desktops/lxqt')
-rw-r--r-- | pkgs/desktops/lxqt/lxqt-notificationd/default.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/desktops/lxqt/lxqt-notificationd/default.nix b/pkgs/desktops/lxqt/lxqt-notificationd/default.nix index 32a3c408258c6..53826f62bccfc 100644 --- a/pkgs/desktops/lxqt/lxqt-notificationd/default.nix +++ b/pkgs/desktops/lxqt/lxqt-notificationd/default.nix @@ -1,15 +1,14 @@ { stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, qtx11extras }: stdenv.mkDerivation rec { - name = "${pname}-${version}"; pname = "lxqt-notificationd"; - version = "0.13.0"; + version = "0.14.0"; src = fetchFromGitHub { owner = "lxqt"; repo = pname; rev = version; - sha256 = "0vjpl3ipc0hrz255snkp99h6xrlid490ml8jb588rdpfina66sp1"; + sha256 = "1nawcxy2qnrngcxvwjwmmh4fn7mhnfgy1g77rn90243jvy29wv5f"; }; nativeBuildInputs = [ @@ -20,6 +19,11 @@ stdenv.mkDerivation rec { postPatch = '' substituteInPlace autostart/CMakeLists.txt \ --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" + + for f in {config,src}/CMakeLists.txt; do + substituteInPlace $f \ + --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations" + done ''; buildInputs = [ @@ -32,8 +36,6 @@ stdenv.mkDerivation rec { qtx11extras ]; - cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ]; - meta = with stdenv.lib; { description = "The LXQt notification daemon"; homepage = https://github.com/lxqt/lxqt-notificationd; |