about summary refs log tree commit diff
path: root/pkgs/desktops/lxqt
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/lxqt')
-rw-r--r--pkgs/desktops/lxqt/core/libfm-qt/default.nix43
-rw-r--r--pkgs/desktops/lxqt/default.nix3
2 files changed, 46 insertions, 0 deletions
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/default.nix b/pkgs/desktops/lxqt/default.nix
index a013e107f7b4..6aac0d62af66 100644
--- a/pkgs/desktops/lxqt/default.nix
+++ b/pkgs/desktops/lxqt/default.nix
@@ -31,4 +31,7 @@ let
     libsysstat = callPackage ./base/libsysstat { };
     liblxqt = callPackage ./base/liblxqt { };
 
+    ### CORE 1
+    libfm-qt = callPackage ./core/libfm-qt { };
+
 in self