diff --git a/pkgs/desktops/lxqt/core/lxqt-about/default.nix b/pkgs/desktops/lxqt/core/lxqt-about/default.nix new file mode 100644 index 000000000000..3e3b047dd4ed --- /dev/null +++ b/pkgs/desktops/lxqt/core/lxqt-about/default.nix @@ -0,0 +1,37 @@ +{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt, xorg }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "lxqt-about"; + version = "0.11.0"; + + srcs = fetchFromGitHub { + owner = "lxde"; + repo = pname; + rev = version; + sha256 = "0739gp3af68cvf8fxqvd203xqzncglmxpklq8mryrs5f1xnqp6gc"; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ + qt5.qtx11extras + qt5.qttools + qt5.qtsvg + kde5.kwindowsystem + lxqt.liblxqt + lxqt.libqtxdg + ]; + + cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ]; + + postPatch = lxqt.standardPatch; + + meta = with stdenv.lib; { + description = "Dialogue window providing information about LXQt and the system it's running on"; + homepage = https://github.com/lxde/lxqt-about; + license = licenses.lgpl21; + maintainers = with maintainers; [ romildo ]; + platforms = with platforms; unix; + }; +} diff --git a/pkgs/desktops/lxqt/default.nix b/pkgs/desktops/lxqt/default.nix index 6aac0d62af66..e6a6467baa10 100644 --- a/pkgs/desktops/lxqt/default.nix +++ b/pkgs/desktops/lxqt/default.nix @@ -33,5 +33,6 @@ let ### CORE 1 libfm-qt = callPackage ./core/libfm-qt { }; + lxqt-about = callPackage ./core/lxqt-about { }; in self