{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt, xorg }: stdenv.mkDerivation rec { name = "${pname}-${version}"; pname = "lxqt-config"; version = "0.11.0"; srcs = fetchFromGitHub { owner = "lxde"; repo = pname; rev = version; sha256 = "187x19s0jw20an37v7svkry6p021ply4i3ngh5w2nx5rlqkf63qw"; }; nativeBuildInputs = [ cmake pkgconfig ]; buildInputs = [ qt5.qtbase qt5.qtx11extras qt5.qttools qt5.qtsvg kde5.kwindowsystem kde5.libkscreen lxqt.liblxqt lxqt.libqtxdg xorg.libpthreadstubs xorg.libXdmcp xorg.libXScrnSaver xorg.libxcb xorg.libXcursor ]; cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ]; postPatch = lxqt.standardPatch; meta = with stdenv.lib; { description = "Tools to configure LXQt and the underlying operating system"; homepage = https://github.com/lxde/lxqt-config; license = licenses.lgpl21; maintainers = with maintainers; [ romildo ]; platforms = with platforms; unix; }; }