From d16c535224ee736883ee3a54a77c6344fb4d0faa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Mon, 3 Oct 2016 19:06:13 -0300 Subject: [PATCH] pcmanfm-qt: init at 0.11.1 --- .../desktops/lxqt/core/pcmanfm-qt/default.nix | 43 +++++++++++++++++++ pkgs/desktops/lxqt/default.nix | 1 + 2 files changed, 44 insertions(+) create mode 100644 pkgs/desktops/lxqt/core/pcmanfm-qt/default.nix 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/default.nix b/pkgs/desktops/lxqt/default.nix index 1b20d2b1746d..b847e5ef94bd 100644 --- a/pkgs/desktops/lxqt/default.nix +++ b/pkgs/desktops/lxqt/default.nix @@ -52,5 +52,6 @@ let ### CORE 2 lxqt-panel = callPackage ./core/lxqt-panel { }; lxqt-runner = callPackage ./core/lxqt-runner { }; + pcmanfm-qt = callPackage ./core/pcmanfm-qt { }; in self