anchor.diff:      qtx11extras
       qttools
       qtsvg
  +    polkit-qt
       kwindowsystem
       libqtxdg
       xorg.libXScrnSaver
  
positive.code: { stdenv, fetchFromGitHub, cmake, lxqt-build-tools,
    qtx11extras, qttools, qtsvg, libqtxdg, kwindowsystem, xorg }:
  
  stdenv.mkDerivation rec {
    name = "${pname}-${version}";
    pname = "liblxqt";
    version = "0.12.0";
  
    src = fetchFromGitHub {
      owner = "lxqt";
      repo = pname;
      rev = version;
      sha256 = "1852vfbkbpw49i8ad682jhqmnskmc9a90qwpalipgak7m64azg3j";
    };
  
    nativeBuildInputs = [
  
negative.code:     "-DPULL_TRANSLATIONS=NO"
      "-DLXQT_ETC_XDG_DIR=/run/current-system/sw/etc/xdg"
    ];
  
    patchPhase = ''
      sed -i 's|set(LXQT_SHARE_DIR .*)|set(LXQT_SHARE_DIR "/run/current-system/sw/share/lxqt")|' CMakeLists.txt
      sed -i "s|\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR}|''${out}/share/polkit-1/actions|" CMakeLists.txt
    '';
  
    meta = with stdenv.lib; {
      description = "Core utility library for all LXQt components";
      homepage = https://github.com/lxqt/liblxqt;
  