2020-04-25 10:01:05 -07:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
2021-01-16 18:21:50 -08:00
|
|
|
, pkg-config
|
2020-04-25 10:01:05 -07:00
|
|
|
, lxqt
|
|
|
|
, qtbase
|
|
|
|
, qttools
|
|
|
|
, qtx11extras
|
|
|
|
, libfm-qt
|
|
|
|
, menu-cache
|
|
|
|
, lxmenu-data
|
2020-04-26 07:53:59 -07:00
|
|
|
, lxqtUpdateScript
|
2020-04-25 10:01:05 -07:00
|
|
|
}:
|
2016-10-03 15:06:13 -07:00
|
|
|
|
2019-07-27 14:05:17 -07:00
|
|
|
mkDerivation rec {
|
2016-10-03 15:06:13 -07:00
|
|
|
pname = "pcmanfm-qt";
|
2021-04-16 13:32:41 -07:00
|
|
|
version = "0.17.0";
|
2016-10-03 15:06:13 -07:00
|
|
|
|
2017-11-01 19:00:50 -07:00
|
|
|
src = fetchFromGitHub {
|
2018-05-21 18:24:38 -07:00
|
|
|
owner = "lxqt";
|
2016-10-03 15:06:13 -07:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-04-16 13:32:41 -07:00
|
|
|
sha256 = "1awyncpypygsrg7d2nc6xh1l4xaln3ypdliy4xmq8bf94sh9rf0y";
|
2016-10-03 15:06:13 -07:00
|
|
|
};
|
|
|
|
|
2017-02-19 04:43:43 -08:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2021-01-16 18:21:50 -08:00
|
|
|
pkg-config
|
2019-02-05 15:14:23 -08:00
|
|
|
lxqt.lxqt-build-tools
|
2017-02-19 04:43:43 -08:00
|
|
|
];
|
2016-10-03 15:06:13 -07:00
|
|
|
|
|
|
|
buildInputs = [
|
2019-02-05 15:14:23 -08:00
|
|
|
qtbase
|
|
|
|
qttools
|
|
|
|
qtx11extras
|
2018-05-22 06:54:12 -07:00
|
|
|
libfm-qt
|
|
|
|
libfm-qt
|
2016-10-03 15:06:13 -07:00
|
|
|
menu-cache
|
|
|
|
lxmenu-data
|
|
|
|
];
|
|
|
|
|
2020-04-26 07:53:59 -07:00
|
|
|
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
|
|
|
|
2020-05-11 14:11:37 -07:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace config/pcmanfm-qt/lxqt/settings.conf.in --replace @LXQT_SHARE_DIR@ /run/current-system/sw/share/lxqt
|
|
|
|
'';
|
|
|
|
|
2019-07-27 14:05:17 -07:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/lxqt/pcmanfm-qt";
|
2021-02-08 06:41:52 -08:00
|
|
|
description = "File manager and desktop icon manager (Qt port of PCManFM and libfm)";
|
|
|
|
license = licenses.gpl2Plus;
|
2016-10-03 15:06:13 -07:00
|
|
|
platforms = with platforms; unix;
|
2017-02-19 04:43:43 -08:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-03 15:06:13 -07:00
|
|
|
};
|
|
|
|
}
|