{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }: stdenv.mkDerivation rec { name = "${pname}-${version}"; pname = "lxqt-powermanagement"; version = "0.11.1"; srcs = fetchFromGitHub { owner = "lxde"; repo = pname; rev = version; sha256 = "0rcjq20ap6kc3m1f2glb8c62qhsx8qh0rkzlj3rykdj6n4hc0x79"; }; nativeBuildInputs = [ cmake lxqt.lxqt-build-tools ]; buildInputs = [ qt5.qtbase qt5.qttools qt5.qtx11extras qt5.qtsvg kde5.kwindowsystem kde5.solid kde5.kidletime lxqt.liblxqt lxqt.libqtxdg ]; cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ]; meta = with stdenv.lib; { description = "Power management module for LXQt"; homepage = https://github.com/lxde/lxqt-powermanagement; license = licenses.lgpl21; platforms = with platforms; unix; maintainers = with maintainers; [ romildo ]; }; }