summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorJoachim F <joachifm@users.noreply.github.com>2016-10-07 14:00:54 +0200
committerGitHub <noreply@github.com>2016-10-07 14:00:54 +0200
commit030a298406b935abb695f775a3ea9e18fa81efab (patch)
tree5abb8c17392ff3c6df5f9ebe3c96a8d9ef48604e /pkgs/desktops
parent908ad09fd61cee0d646ece0f2ae8baee223aa871 (diff)
parenta5bbe8970ff04d0589d5b2ad93db41917d86d41b (diff)
downloadnixlib-030a298406b935abb695f775a3ea9e18fa81efab.tar
nixlib-030a298406b935abb695f775a3ea9e18fa81efab.tar.gz
nixlib-030a298406b935abb695f775a3ea9e18fa81efab.tar.bz2
nixlib-030a298406b935abb695f775a3ea9e18fa81efab.tar.lz
nixlib-030a298406b935abb695f775a3ea9e18fa81efab.tar.xz
nixlib-030a298406b935abb695f775a3ea9e18fa81efab.tar.zst
nixlib-030a298406b935abb695f775a3ea9e18fa81efab.zip
Merge pull request #19212 from romildo/new.lxqt
lxqt: init at 0.11
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/lxqt/base/liblxqt/default.nix44
-rw-r--r--pkgs/desktops/lxqt/base/libqtxdg/default.nix25
-rw-r--r--pkgs/desktops/lxqt/base/libsysstat/default.nix25
-rw-r--r--pkgs/desktops/lxqt/core/libfm-qt/default.nix43
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-about/default.nix37
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-admin/default.nix40
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-common/default.nix42
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-config/default.nix47
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-globalkeys/default.nix38
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-l10n/default.nix37
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-notificationd/default.nix35
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-openssh-askpass/default.nix36
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-panel/default.nix53
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-policykit/default.nix37
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-powermanagement/default.nix38
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-qtplugin/default.nix39
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-runner/default.nix39
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-session/default.nix38
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-sudo/default.nix37
-rw-r--r--pkgs/desktops/lxqt/core/pavucontrol-qt/default.nix39
-rw-r--r--pkgs/desktops/lxqt/core/pcmanfm-qt/default.nix43
-rw-r--r--pkgs/desktops/lxqt/core/qtermwidget/default.nix26
-rw-r--r--pkgs/desktops/lxqt/default.nix64
-rw-r--r--pkgs/desktops/lxqt/optional/compton-conf/default.nix37
-rw-r--r--pkgs/desktops/lxqt/optional/obconf-qt/default.nix41
-rw-r--r--pkgs/desktops/lxqt/optional/qterminal/default.nix37
26 files changed, 1017 insertions, 0 deletions
diff --git a/pkgs/desktops/lxqt/base/liblxqt/default.nix b/pkgs/desktops/lxqt/base/liblxqt/default.nix
new file mode 100644
index 000000000000..b973940b9b63
--- /dev/null
+++ b/pkgs/desktops/lxqt/base/liblxqt/default.nix
@@ -0,0 +1,44 @@
+{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt, xorg }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "liblxqt";
+  version = "0.11.0";
+
+  src = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "12gla3pdg0n28w15qrmha83xm3021xdby8ydwp1qzcips5pa5zac";
+  };
+
+  nativeBuildInputs = [
+    cmake
+  ];
+
+  buildInputs = [
+    qt5.qtx11extras
+    qt5.qttools
+    qt5.qtsvg
+    kde5.kwindowsystem
+    lxqt.libqtxdg
+    xorg.libXScrnSaver
+  ];
+
+  cmakeFlags = [
+    "-DPULL_TRANSLATIONS=NO"
+    "-DLXQT_ETC_XDG_DIR=/run/current-system/sw/etc/xdg"
+  ];
+  
+  patchPhase = ''
+    sed -i 's|set(LXQT_SHARE_DIR .*)|set(LXQT_SHARE_DIR "/run/current-system/sw/share/lxqt")|' CMakeLists.txt
+  '';
+  
+  meta = with stdenv.lib; {
+    description = "Core utility library for all LXQt components";
+    homepage = https://github.com/lxde/liblxqt;
+    license = licenses.lgpl21Plus;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/base/libqtxdg/default.nix b/pkgs/desktops/lxqt/base/libqtxdg/default.nix
new file mode 100644
index 000000000000..47d3fb2e91c3
--- /dev/null
+++ b/pkgs/desktops/lxqt/base/libqtxdg/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchFromGitHub, cmake, qt5 }:
+
+stdenv.mkDerivation rec {
+  name = "libqtxdg-${version}";
+  version = "2.0.0";
+
+  src = fetchFromGitHub {
+    owner = "lxde";
+    repo = "libqtxdg";
+    rev = version;
+    sha256 = "1s5jw4q6gcivk7mc95ir9q2nry4yyhfwy039ddf5ymh79nynv8vy";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  buildInputs = [ qt5.qtbase qt5.qtsvg ];
+
+  meta = with stdenv.lib; {
+    description = "Qt implementation of freedesktop.org xdg specs";
+    homepage = https://github.com/lxde/libqtxdg;
+    license = licenses.lgpl21;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/base/libsysstat/default.nix b/pkgs/desktops/lxqt/base/libsysstat/default.nix
new file mode 100644
index 000000000000..363b3d33d141
--- /dev/null
+++ b/pkgs/desktops/lxqt/base/libsysstat/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchFromGitHub, cmake, qt5 }:
+
+stdenv.mkDerivation rec {
+  name = "libsysstat-${version}";
+  version = "0.3.2";
+
+  src = fetchFromGitHub {
+    owner = "lxde";
+    repo = "libsysstat";
+    rev = version;
+    sha256 = "1swpnz37daj3njkbqddmhaiipfl335c3g675y9afhabg7l4anf1n";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  buildInputs = [ qt5.qtbase ];
+
+  meta = with stdenv.lib; {
+    description = "Library used to query system info and statistics";
+    homepage = https://github.com/lxde/libsysstat;
+    license = licenses.lgpl21Plus;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/core/libfm-qt/default.nix b/pkgs/desktops/lxqt/core/libfm-qt/default.nix
new file mode 100644
index 000000000000..71b6cff5899e
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/libfm-qt/default.nix
@@ -0,0 +1,43 @@
+{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt, xorg,
+libfm, menu-cache }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "libfm-qt";
+  version = "0.11.1";
+
+  src = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "1kgvzjsa4ihlj2clz6y6s95nq0lhg66d1dhkgw3mdqaak7d0pdiz";
+  };
+
+  nativeBuildInputs = [
+    cmake
+    pkgconfig
+    lxqt.liblxqt
+    lxqt.libqtxdg
+  ];
+
+  buildInputs = [
+    qt5.qtx11extras
+    qt5.qttools
+    qt5.qtsvg
+    kde5.kwindowsystem
+    xorg.libpthreadstubs
+    xorg.libXdmcp
+    libfm
+    menu-cache
+  ];
+
+  cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
+   
+  meta = with stdenv.lib; {
+    description = "Core library of PCManFM-Qt (Qt binding for libfm)";
+    homepage = https://github.com/lxde/libfm-qt;
+    license = licenses.lgpl21;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
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/core/lxqt-admin/default.nix b/pkgs/desktops/lxqt/core/lxqt-admin/default.nix
new file mode 100644
index 000000000000..da47e02dcf1f
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/lxqt-admin/default.nix
@@ -0,0 +1,40 @@
+{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt, xorg, polkit }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "lxqt-admin";
+  version = "0.11.0";
+
+  srcs = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "17g9v6dyqy5pgpqragpf0sgnfxz2ip2g7xix7kmkna3qyym44b23";
+  };
+
+  nativeBuildInputs = [
+    cmake
+  ];
+
+  buildInputs = [
+    qt5.qtx11extras
+    qt5.qttools
+    qt5.qtsvg
+    kde5.kwindowsystem
+    lxqt.liblxqt
+    lxqt.libqtxdg
+    polkit
+  ];
+
+  cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
+
+  postPatch = lxqt.standardPatch;
+
+  meta = with stdenv.lib; {
+    description = "LXQt system administration tool";
+    homepage = https://github.com/lxde/lxqt-admin;
+    license = licenses.lgpl21;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/core/lxqt-common/default.nix b/pkgs/desktops/lxqt/core/lxqt-common/default.nix
new file mode 100644
index 000000000000..a4b8f000dc7b
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/lxqt-common/default.nix
@@ -0,0 +1,42 @@
+{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt, xorg, hicolor_icon_theme, xmessage }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "lxqt-common";
+  version = "0.11.0";
+
+  src = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "14nx3zcknwsn713wdnmb2xl15vf21vh13kxscdwmfnd48m5j4m3b";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  buildInputs = [
+    qt5.qtx11extras
+    qt5.qttools
+    qt5.qtsvg
+    kde5.kwindowsystem
+    lxqt.liblxqt
+    lxqt.libqtxdg
+    hicolor_icon_theme
+    xmessage
+  ];
+
+  postPatch = lxqt.standardPatch
+  + ''
+    substituteInPlace ./startlxqt.in \
+      --replace  "cp " "cp --no-preserve=mode " \
+      --replace xmessage "${xmessage}"/bin/xmessage
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Common files for LXQt";
+    homepage = https://github.com/lxde/lxqt-common;
+    license = licenses.lgpl21;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/core/lxqt-config/default.nix b/pkgs/desktops/lxqt/core/lxqt-config/default.nix
new file mode 100644
index 000000000000..66187a0ae6f8
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/lxqt-config/default.nix
@@ -0,0 +1,47 @@
+{ 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;
+  };
+}
diff --git a/pkgs/desktops/lxqt/core/lxqt-globalkeys/default.nix b/pkgs/desktops/lxqt/core/lxqt-globalkeys/default.nix
new file mode 100644
index 000000000000..7f1f140653fe
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/lxqt-globalkeys/default.nix
@@ -0,0 +1,38 @@
+{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "lxqt-globalkeys";
+  version = "0.11.0";
+
+  srcs = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "05kcq21fyz7vnhh9k4nzhskgbghp1slsz14gh9anhya4a567xx0y";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  buildInputs = [
+    qt5.qtbase
+    qt5.qttools
+    qt5.qtx11extras
+    qt5.qtsvg
+    kde5.kwindowsystem
+    lxqt.liblxqt
+    lxqt.libqtxdg
+  ];
+
+  cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
+
+  postPatch = lxqt.standardPatch;
+
+  meta = with stdenv.lib; {
+    description = "Daemon used to register global keyboard shortcuts";
+    homepage = https://github.com/lxde/lxqt-globalkeys;
+    license = licenses.lgpl21;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/core/lxqt-l10n/default.nix b/pkgs/desktops/lxqt/core/lxqt-l10n/default.nix
new file mode 100644
index 000000000000..477575289bb1
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/lxqt-l10n/default.nix
@@ -0,0 +1,37 @@
+{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }:
+
+stdenv.mkDerivation rec {
+  name = "lxqt-l10n-${version}";
+  version = "0.11.0";
+
+  src = fetchFromGitHub {
+    owner = "lxde";
+    repo = "lxqt-l10n";
+    rev = version;
+    sha256 = "1gwismyjfdd7lwlgfl5jvbxmkbq9v9ia0shm4f7hkkvlpc2y24gk";
+  };
+
+  nativeBuildInputs = [
+    cmake
+    qt5.qtbase
+    qt5.qtx11extras
+    qt5.qttools
+    qt5.qtsvg
+    kde5.kwindowsystem
+    lxqt.liblxqt
+    lxqt.libqtxdg
+  ];
+
+  postPatch = ''
+    substituteInPlace CMakeLists.txt \
+      --replace "\''${LXQT_TRANSLATIONS_DIR}" "$out"/share/lxqt/translations
+  '';
+  
+  meta = with stdenv.lib; {
+    description = "Translations of LXQt";
+    homepage = https://github.com/lxde/lxqt-l10n;
+    license = licenses.lgpl21Plus;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/core/lxqt-notificationd/default.nix b/pkgs/desktops/lxqt/core/lxqt-notificationd/default.nix
new file mode 100644
index 000000000000..1ecef6334946
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/lxqt-notificationd/default.nix
@@ -0,0 +1,35 @@
+{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "lxqt-notificationd";
+  version = "0.11.0";
+
+  srcs = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "001xcvmg7ap5pbssc9pqp4jshgq2h4zxk9rra76xnrby6k8n6p3x";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  buildInputs = [
+    qt5.qtbase
+    qt5.qttools
+    qt5.qtsvg
+    kde5.kwindowsystem
+    lxqt.liblxqt
+    lxqt.libqtxdg
+  ];
+
+  cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
+
+  meta = with stdenv.lib; {
+    description = "The LXQt notification daemon";
+    homepage = https://github.com/lxde/lxqt-notificationd;
+    license = licenses.lgpl21;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/core/lxqt-openssh-askpass/default.nix b/pkgs/desktops/lxqt/core/lxqt-openssh-askpass/default.nix
new file mode 100644
index 000000000000..202231fbdea9
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/lxqt-openssh-askpass/default.nix
@@ -0,0 +1,36 @@
+{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "lxqt-openssh-askpass";
+  version = "0.11.0";
+
+  srcs = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "0nz8sv3yrqbzgmd6jahaqaa71axy5x06k091splp9cmab0vzng7c";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  buildInputs = [
+    qt5.qtbase
+    qt5.qttools
+    qt5.qtx11extras
+    qt5.qtsvg
+    kde5.kwindowsystem
+    lxqt.liblxqt
+    lxqt.libqtxdg
+  ];
+
+  cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
+
+  meta = with stdenv.lib; {
+    description = "GUI to query passwords on behalf of SSH agents";
+    homepage = https://github.com/lxde/lxqt-openssh-askpass;
+    license = licenses.lgpl21;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/core/lxqt-panel/default.nix b/pkgs/desktops/lxqt/core/lxqt-panel/default.nix
new file mode 100644
index 000000000000..d5786444fadb
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/lxqt-panel/default.nix
@@ -0,0 +1,53 @@
+{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt, xorg,
+libstatgrab, lm_sensors, libpulseaudio, alsaLib, menu-cache,
+lxmenu-data }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "lxqt-panel";
+  version = "0.11.0";
+
+  srcs = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "0lwgz6nir4cd50xbmc3arngnw38rb5kqgcsgp3dlq6gpncg45hdq";
+  };
+
+  nativeBuildInputs = [ cmake pkgconfig ];
+
+  buildInputs = [
+    qt5.qtbase
+    qt5.qttools
+    qt5.qtx11extras
+    qt5.qtsvg
+    qt5.libdbusmenu
+    kde5.kwindowsystem
+    kde5.solid
+    kde5.kguiaddons
+    lxqt.liblxqt
+    lxqt.libqtxdg
+    lxqt.lxqt-globalkeys
+    lxqt.libsysstat
+    xorg.libpthreadstubs
+    xorg.libXdmcp
+    libstatgrab
+    lm_sensors
+    libpulseaudio
+    alsaLib
+    menu-cache
+    lxmenu-data
+  ];
+
+  cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
+
+  postPatch = lxqt.standardPatch;
+
+  meta = with stdenv.lib; {
+    description = "The LXQt desktop panel";
+    homepage = https://github.com/lxde/lxqt-panel;
+    license = licenses.lgpl21;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/core/lxqt-policykit/default.nix b/pkgs/desktops/lxqt/core/lxqt-policykit/default.nix
new file mode 100644
index 000000000000..627f43f8be60
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/lxqt-policykit/default.nix
@@ -0,0 +1,37 @@
+{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "lxqt-policykit";
+  version = "0.11.0";
+
+  srcs = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "0rbqzh8r259cc44f1cb236p9c3lp195zjdsw3w1nz7j7gzv9yjnd";
+  };
+
+  nativeBuildInputs = [ cmake pkgconfig ];
+
+  buildInputs = [
+    qt5.qtbase
+    qt5.qttools
+    qt5.qtx11extras
+    qt5.qtsvg
+    qt5.polkit-qt
+    kde5.kwindowsystem
+    lxqt.liblxqt
+    lxqt.libqtxdg
+  ];
+
+  cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
+
+  meta = with stdenv.lib; {
+    description = "The LXQt PolicyKit agent";
+    homepage = https://github.com/lxde/lxqt-policykit;
+    license = licenses.lgpl21;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/core/lxqt-powermanagement/default.nix b/pkgs/desktops/lxqt/core/lxqt-powermanagement/default.nix
new file mode 100644
index 000000000000..aabce857edd5
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/lxqt-powermanagement/default.nix
@@ -0,0 +1,38 @@
+{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "lxqt-powermanagement";
+  version = "0.11.0";
+
+  srcs = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "10myxrhlhvr9cmcqv67skzd11c40bgqgf6qdvm5smww2il1mzfwa";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  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;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/core/lxqt-qtplugin/default.nix b/pkgs/desktops/lxqt/core/lxqt-qtplugin/default.nix
new file mode 100644
index 000000000000..e0a95d23c4e1
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/lxqt-qtplugin/default.nix
@@ -0,0 +1,39 @@
+{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "lxqt-qtplugin";
+  version = "0.11.0";
+
+  srcs = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "14bwi1c078arin025jcygz0db9nfr8qla9071ls17bbp4dh14vhx";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  buildInputs = [
+    qt5.qtbase
+    qt5.qtx11extras
+    qt5.qttools
+    qt5.qtsvg
+    qt5.libdbusmenu
+    kde5.kwindowsystem
+    lxqt.liblxqt
+    lxqt.libqtxdg
+  ];
+
+  cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
+
+  postPatch = lxqt.standardPatch;
+
+  meta = with stdenv.lib; {
+    description = "LXQt Qt platform integration plugin";
+    homepage = https://github.com/lxde/lxqt-qtplugin;
+    license = licenses.lgpl21;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/core/lxqt-runner/default.nix b/pkgs/desktops/lxqt/core/lxqt-runner/default.nix
new file mode 100644
index 000000000000..02d6f90397ac
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/lxqt-runner/default.nix
@@ -0,0 +1,39 @@
+{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt,
+menu-cache, muparser }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "lxqt-runner";
+  version = "0.11.0";
+
+  srcs = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "1gqs1b90km39dbg49g80x770i9jknni4h8y6ka2r1fga35amllkc";
+  };
+
+  nativeBuildInputs = [ cmake pkgconfig ];
+
+  buildInputs = [
+    qt5.qtbase
+    qt5.qttools
+    qt5.qtsvg
+    kde5.kwindowsystem
+    lxqt.liblxqt
+    lxqt.libqtxdg
+    lxqt.lxqt-globalkeys
+    menu-cache
+    muparser
+  ];
+
+  cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
+
+  meta = with stdenv.lib; {
+    description = "Tool used to launch programs quickly by typing their names";
+    homepage = https://github.com/lxde/lxqt-runner;
+    license = licenses.lgpl21;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
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/core/lxqt-sudo/default.nix b/pkgs/desktops/lxqt/core/lxqt-sudo/default.nix
new file mode 100644
index 000000000000..ad0885917aed
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/lxqt-sudo/default.nix
@@ -0,0 +1,37 @@
+{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt, sudo }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "lxqt-sudo";
+  version = "0.11.0";
+
+  srcs = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "0nmn0j5qvqpkhlq8yvl8ycn3hijbnwxd32hhmxhcnaq07cmzbg1j";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  buildInputs = [
+    qt5.qtbase
+    qt5.qttools
+    qt5.qtx11extras
+    qt5.qtsvg
+    kde5.kwindowsystem
+    lxqt.liblxqt
+    lxqt.libqtxdg
+    sudo
+  ];
+
+  cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
+
+  meta = with stdenv.lib; {
+    description = "GUI frontend for sudo/su";
+    homepage = https://github.com/lxde/lxqt-sudo;
+    license = licenses.lgpl21;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/core/pavucontrol-qt/default.nix b/pkgs/desktops/lxqt/core/pavucontrol-qt/default.nix
new file mode 100644
index 000000000000..ea2f24d6cf1f
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/pavucontrol-qt/default.nix
@@ -0,0 +1,39 @@
+{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt,
+xdg-user-dirs, libpulseaudio }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "pavucontrol-qt";
+  version = "0.1.0";
+
+  srcs = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "1bis88ykasrnk9a55nnbn832acjz2h76h6i3lbxnb36yq71wan7j";
+  };
+
+  nativeBuildInputs = [ cmake pkgconfig ];
+
+  buildInputs = [
+    qt5.qtbase
+    qt5.qttools
+    qt5.qtx11extras
+    qt5.qtsvg
+    kde5.kwindowsystem
+    lxqt.liblxqt
+    lxqt.libqtxdg
+    xdg-user-dirs
+    libpulseaudio
+  ];
+
+  cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
+
+  meta = with stdenv.lib; {
+    description = "A Pulseaudio mixer in Qt (port of pavucontrol)";
+    homepage = https://github.com/lxde/pavucontrol-qt;
+    license = licenses.gpl2;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/core/pcmanfm-qt/default.nix b/pkgs/desktops/lxqt/core/pcmanfm-qt/default.nix
new file mode 100644
index 000000000000..bc9cf774017f
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/pcmanfm-qt/default.nix
@@ -0,0 +1,43 @@
+{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt, xorg, libfm,
+menu-cache, lxmenu-data }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "pcmanfm-qt";
+  version = "0.11.1";
+
+  srcs = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "04fv23glcnfiszam90iy3gvn2sigyk8zj8a1s43wz8fgjijnws32";
+  };
+
+  nativeBuildInputs = [ cmake pkgconfig ];
+
+  buildInputs = [
+    qt5.qtbase
+    qt5.qttools
+    qt5.qtx11extras
+    qt5.qtsvg
+    kde5.kwindowsystem
+    lxqt.liblxqt
+    lxqt.libqtxdg
+    lxqt.libfm-qt
+    xorg.libpthreadstubs
+    xorg.libXdmcp
+    libfm
+    menu-cache
+    lxmenu-data
+  ];
+
+  cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
+
+  meta = with stdenv.lib; {
+    description = "File manager and desktop icon manager (Qt port of PCManFM and libfm)";
+    homepage = https://github.com/lxde/pcmanfm-qt;
+    license = licenses.gpl2;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/core/qtermwidget/default.nix b/pkgs/desktops/lxqt/core/qtermwidget/default.nix
new file mode 100644
index 000000000000..33f3cc19cf67
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/qtermwidget/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub, cmake, qt5 }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "qtermwidget";
+  version = "0.7.0";
+
+  srcs = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "18dnrzpbijh0xdgx83zs8nlbxk0d7hgzib54fqqvxyrjjy4g9scz";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  buildInputs = [ qt5.qtbase ];
+
+  meta = with stdenv.lib; {
+    description = "A terminal emulator widget for Qt 5";
+    homepage = https://github.com/lxde/qtermwidget;
+    license = licenses.gpl2;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/default.nix b/pkgs/desktops/lxqt/default.nix
new file mode 100644
index 000000000000..2ef49ff2e4ed
--- /dev/null
+++ b/pkgs/desktops/lxqt/default.nix
@@ -0,0 +1,64 @@
+{ pkgs, newScope, fetchFromGitHub }:
+
+let
+  callPackage = newScope self;
+
+  self = rec {
+
+    # For compiling information, see:
+    # - https://github.com/lxde/lxqt/wiki/Building-from-source
+  
+    standardPatch = ''
+      for file in $(find . -name CMakeLists.txt); do
+        substituteInPlace $file \
+          --replace "DESTINATION \''${LXQT_ETC_XDG_DIR}" "DESTINATION etc/xdg" \
+          --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" \
+          --replace "DESTINATION \"\''${LXQT_SHARE_DIR}" "DESTINATION \"share/lxqt" \
+          --replace "DESTINATION \"\''${LXQT_GRAPHICS_DIR}" "DESTINATION \"share/lxqt/graphics" \
+          --replace "DESTINATION \"\''${QT_PLUGINS_DIR}" "DESTINATION \"lib/qt5/plugins" \
+          --replace "\''${LXQT_TRANSLATIONS_DIR}" share/lxqt/translations
+        echo ============================
+        echo $file
+        grep --color=always DESTINATION $file || true
+        grep --color=always share/lxqt/translations $file || true
+        grep --color=always platform $file || true
+      done
+      echo --------------------------------------------------------
+    '';
+
+    ### BASE
+    libqtxdg = callPackage ./base/libqtxdg { };
+    libsysstat = callPackage ./base/libsysstat { };
+    liblxqt = callPackage ./base/liblxqt { };
+
+    ### CORE 1
+    libfm-qt = callPackage ./core/libfm-qt { };
+    lxqt-about = callPackage ./core/lxqt-about { };
+    lxqt-admin = callPackage ./core/lxqt-admin { };
+    lxqt-common = callPackage ./core/lxqt-common { };
+    lxqt-config = callPackage ./core/lxqt-config { };
+    lxqt-globalkeys = callPackage ./core/lxqt-globalkeys { };
+    lxqt-l10n = callPackage ./core/lxqt-l10n { };
+    lxqt-notificationd = callPackage ./core/lxqt-notificationd { };
+    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 { };
+    lxqt-sudo = callPackage ./core/lxqt-sudo { };
+    pavucontrol-qt = callPackage ./core/pavucontrol-qt { };
+    qtermwidget = callPackage ./core/qtermwidget { };
+
+    ### CORE 2
+    lxqt-panel = callPackage ./core/lxqt-panel { };
+    lxqt-runner = callPackage ./core/lxqt-runner { };
+    pcmanfm-qt = callPackage ./core/pcmanfm-qt { };
+
+    ### OPTIONAL
+    qterminal = callPackage ./optional/qterminal { };
+    compton-conf = callPackage ./optional/compton-conf { };
+    obconf-qt = callPackage ./optional/obconf-qt { };
+   
+  };
+
+in self
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 000000000000..45717fe31e20
--- /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;
+  };
+}
diff --git a/pkgs/desktops/lxqt/optional/obconf-qt/default.nix b/pkgs/desktops/lxqt/optional/obconf-qt/default.nix
new file mode 100644
index 000000000000..381c998616f5
--- /dev/null
+++ b/pkgs/desktops/lxqt/optional/obconf-qt/default.nix
@@ -0,0 +1,41 @@
+{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, xorg, lxqt,
+openbox, hicolor_icon_theme }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "obconf-qt";
+  version = "0.11.0";
+
+  srcs = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "1q3y4sc1kg3hw4869rx4g08y85rnvnxgk8rf8h6amkf5r5561iyk";
+  };
+
+  nativeBuildInputs = [ cmake pkgconfig ];
+
+  buildInputs = [
+    qt5.qtbase
+    qt5.qttools
+    qt5.qtx11extras
+    qt5.qtsvg
+    kde5.kwindowsystem
+    lxqt.liblxqt
+    lxqt.libqtxdg
+    xorg.libpthreadstubs
+    xorg.libXdmcp
+    openbox
+    hicolor_icon_theme
+  ];
+
+  cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
+
+  meta = with stdenv.lib; {
+    description = "The Qt port of obconf, the Openbox configuration tool";
+    homepage = https://github.com/lxde/obconf-qt;
+    license = licenses.gpl2;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}
diff --git a/pkgs/desktops/lxqt/optional/qterminal/default.nix b/pkgs/desktops/lxqt/optional/qterminal/default.nix
new file mode 100644
index 000000000000..7f0f66c6fbe4
--- /dev/null
+++ b/pkgs/desktops/lxqt/optional/qterminal/default.nix
@@ -0,0 +1,37 @@
+{ stdenv, fetchFromGitHub, cmake, qt5, kde5, lxqt }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  pname = "qterminal";
+  version = "0.7.0";
+
+  srcs = fetchFromGitHub {
+    owner = "lxde";
+    repo = pname;
+    rev = version;
+    sha256 = "1g8d66h8avk094wvgqw0mgl9caamdig6bnn4vawshn4j7y8g4n7v";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  buildInputs = [
+    qt5.qtbase
+    qt5.qttools
+    qt5.qtx11extras
+    qt5.qtsvg
+    kde5.kwindowsystem
+    lxqt.liblxqt
+    lxqt.libqtxdg
+    lxqt.qtermwidget
+  ];
+
+  cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
+
+  meta = with stdenv.lib; {
+    description = "A lightweight Qt-based terminal emulator";
+    homepage = https://github.com/lxde/qterminal;
+    license = licenses.gpl2;
+    maintainers = with maintainers; [ romildo ];
+    platforms = with platforms; unix;
+  };
+}