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