summary refs log tree commit diff
path: root/pkgs/desktops/lxqt
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2016-10-03 19:03:59 -0300
committerJosé Romildo Malaquias <malaquias@gmail.com>2016-10-06 08:02:42 -0300
commita5f681eca733339335589c1a8f905119f3917643 (patch)
tree3e5d6469403b527b6be842bef97d60c22c5ccc6d /pkgs/desktops/lxqt
parent5fc6923af7b2099b568352957e8f15c3c9e7aec3 (diff)
downloadnixlib-a5f681eca733339335589c1a8f905119f3917643.tar
nixlib-a5f681eca733339335589c1a8f905119f3917643.tar.gz
nixlib-a5f681eca733339335589c1a8f905119f3917643.tar.bz2
nixlib-a5f681eca733339335589c1a8f905119f3917643.tar.lz
nixlib-a5f681eca733339335589c1a8f905119f3917643.tar.xz
nixlib-a5f681eca733339335589c1a8f905119f3917643.tar.zst
nixlib-a5f681eca733339335589c1a8f905119f3917643.zip
lxqt-panel: init at 0.11.0
Diffstat (limited to 'pkgs/desktops/lxqt')
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-panel/default.nix51
-rw-r--r--pkgs/desktops/lxqt/default.nix3
2 files changed, 54 insertions, 0 deletions
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..844aa3f82498
--- /dev/null
+++ b/pkgs/desktops/lxqt/core/lxqt-panel/default.nix
@@ -0,0 +1,51 @@
+{ 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
+    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/default.nix b/pkgs/desktops/lxqt/default.nix
index 95ad03601204..47a21877a9d9 100644
--- a/pkgs/desktops/lxqt/default.nix
+++ b/pkgs/desktops/lxqt/default.nix
@@ -49,4 +49,7 @@ let
     pavucontrol-qt = callPackage ./core/pavucontrol-qt { };
     qtermwidget = callPackage ./core/qtermwidget { };
 
+    ### CORE 2
+    lxqt-panel = callPackage ./core/lxqt-panel { };
+
 in self