2020-04-25 17:01:05 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2022-07-23 15:10:11 +00:00
|
|
|
, libexif
|
2020-04-25 17:01:05 +00:00
|
|
|
, lxqt
|
|
|
|
, qtbase
|
|
|
|
, qttools
|
|
|
|
, qtx11extras
|
2022-07-01 17:19:29 +00:00
|
|
|
, qtimageformats
|
2020-04-25 17:01:05 +00:00
|
|
|
, libfm-qt
|
|
|
|
, menu-cache
|
|
|
|
, lxmenu-data
|
2022-09-27 21:32:15 +00:00
|
|
|
, gitUpdater
|
2020-04-25 17:01:05 +00:00
|
|
|
}:
|
2016-10-03 22:06:13 +00:00
|
|
|
|
2019-07-27 21:05:17 +00:00
|
|
|
mkDerivation rec {
|
2016-10-03 22:06:13 +00:00
|
|
|
pname = "pcmanfm-qt";
|
2023-04-16 16:53:30 +00:00
|
|
|
version = "1.3.0";
|
2016-10-03 22:06:13 +00:00
|
|
|
|
2017-11-02 02:00:50 +00:00
|
|
|
src = fetchFromGitHub {
|
2018-05-22 01:24:38 +00:00
|
|
|
owner = "lxqt";
|
2016-10-03 22:06:13 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-04-16 16:53:30 +00:00
|
|
|
sha256 = "qqvjsZRG+ImKHr+XLNNHhnAe1kBWh47/nFcKB1MTSJo=";
|
2016-10-03 22:06:13 +00:00
|
|
|
};
|
|
|
|
|
2017-02-19 12:43:43 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2019-02-05 23:14:23 +00:00
|
|
|
lxqt.lxqt-build-tools
|
2017-02-19 12:43:43 +00:00
|
|
|
];
|
2016-10-03 22:06:13 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2022-07-23 15:10:11 +00:00
|
|
|
libexif
|
2019-02-05 23:14:23 +00:00
|
|
|
qtbase
|
|
|
|
qttools
|
|
|
|
qtx11extras
|
2022-07-01 17:19:29 +00:00
|
|
|
qtimageformats # add-on module to support more image file formats
|
2018-05-22 13:54:12 +00:00
|
|
|
libfm-qt
|
2016-10-03 22:06:13 +00:00
|
|
|
menu-cache
|
|
|
|
lxmenu-data
|
|
|
|
];
|
|
|
|
|
2022-09-27 21:32:15 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
2020-04-26 14:53:59 +00:00
|
|
|
|
2020-05-11 21:11:37 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace config/pcmanfm-qt/lxqt/settings.conf.in --replace @LXQT_SHARE_DIR@ /run/current-system/sw/share/lxqt
|
|
|
|
'';
|
|
|
|
|
2019-07-27 21:05:17 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/lxqt/pcmanfm-qt";
|
2021-02-08 14:41:52 +00:00
|
|
|
description = "File manager and desktop icon manager (Qt port of PCManFM and libfm)";
|
|
|
|
license = licenses.gpl2Plus;
|
2016-10-03 22:06:13 +00:00
|
|
|
platforms = with platforms; unix;
|
2022-04-14 13:52:15 +00:00
|
|
|
maintainers = teams.lxqt.members;
|
2016-10-03 22:06:13 +00:00
|
|
|
};
|
|
|
|
}
|