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