diff --git a/nixos/modules/services/x11/desktop-managers/lxqt.nix b/nixos/modules/services/x11/desktop-managers/lxqt.nix index aac2de6ff5d..c4fe207df91 100644 --- a/nixos/modules/services/x11/desktop-managers/lxqt.nix +++ b/nixos/modules/services/x11/desktop-managers/lxqt.nix @@ -37,6 +37,7 @@ in pkgs.libfm pkgs.libfm-extra pkgs.lxmenu-data + pkgs.lxqt.compton-conf pkgs.lxqt.libfm-qt pkgs.lxqt.liblxqt pkgs.lxqt.libqtxdg diff --git a/pkgs/desktops/lxqt/default.nix b/pkgs/desktops/lxqt/default.nix index e531a4ee947..123b5f94acf 100644 --- a/pkgs/desktops/lxqt/default.nix +++ b/pkgs/desktops/lxqt/default.nix @@ -56,6 +56,7 @@ let ### OPTIONAL qterminal = callPackage ./optional/qterminal { }; + compton-conf = callPackage ./optional/compton-conf { }; }; diff --git a/pkgs/desktops/lxqt/optional/compton-conf/default.nix b/pkgs/desktops/lxqt/optional/compton-conf/default.nix new file mode 100644 index 00000000000..45717fe31e2 --- /dev/null +++ b/pkgs/desktops/lxqt/optional/compton-conf/default.nix @@ -0,0 +1,37 @@ +{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt, libconfig }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "compton-conf"; + version = "0.2.0"; + + srcs = fetchFromGitHub { + owner = "lxde"; + repo = pname; + rev = version; + sha256 = "04svxawa8l0ciflrspkzi13nnl7bljmfwwrgxn5lb3sw6qdcmdlk"; + }; + + nativeBuildInputs = [ cmake pkgconfig ]; + + buildInputs = [ + qt5.qtbase + qt5.qttools + qt5.qtx11extras + qt5.qtsvg + kde5.kwindowsystem + lxqt.liblxqt + lxqt.libqtxdg + libconfig + ]; + + cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ]; + + meta = with stdenv.lib; { + description = "GUI configuration tool for compton X composite manager"; + homepage = https://github.com/lxde/compton-conf; + license = licenses.lgpl21; + maintainers = with maintainers; [ romildo ]; + platforms = with platforms; unix; + }; +}