From 59dac76153deef4e703629d9aa2beed77bf87eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Mon, 3 Oct 2016 19:00:54 -0300 Subject: [PATCH] lxqt-session: init at 0.11.0 --- .../lxqt/core/lxqt-session/default.nix | 38 +++++++++++++++++++ pkgs/desktops/lxqt/default.nix | 2 + 2 files changed, 40 insertions(+) create mode 100644 pkgs/desktops/lxqt/core/lxqt-session/default.nix diff --git a/pkgs/desktops/lxqt/core/lxqt-session/default.nix b/pkgs/desktops/lxqt/core/lxqt-session/default.nix new file mode 100644 index 000000000000..a226169b21a9 --- /dev/null +++ b/pkgs/desktops/lxqt/core/lxqt-session/default.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt, xorg, xdg-user-dirs }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "lxqt-session"; + version = "0.11.0"; + + srcs = fetchFromGitHub { + owner = "lxde"; + repo = pname; + rev = version; + sha256 = "1vb8mcy6z1irnd977x5425mbp4c7yc9dhk5552isqss1qb44hpn4"; + }; + + nativeBuildInputs = [ cmake pkgconfig ]; + + buildInputs = [ + qt5.qtbase + qt5.qttools + qt5.qtsvg + kde5.kwindowsystem + lxqt.liblxqt + lxqt.libqtxdg + xorg.libpthreadstubs + xorg.libXdmcp + xdg-user-dirs + ]; + + cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ]; + + meta = with stdenv.lib; { + description = "An alternative session manager ported from the original razor-session"; + homepage = https://github.com/lxde/lxqt-session; + 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 ea7824f14e25..24ff415c2931 100644 --- a/pkgs/desktops/lxqt/default.nix +++ b/pkgs/desktops/lxqt/default.nix @@ -43,5 +43,7 @@ let lxqt-openssh-askpass = callPackage ./core/lxqt-openssh-askpass { }; lxqt-policykit = callPackage ./core/lxqt-policykit { }; lxqt-powermanagement = callPackage ./core/lxqt-powermanagement { }; + lxqt-qtplugin = callPackage ./core/lxqt-qtplugin { }; + lxqt-session = callPackage ./core/lxqt-session { }; in self