2019-02-05 15:14:23 -08:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt, qtbase, qttools,
|
|
|
|
qtx11extras, libfm-qt, menu-cache, lxmenu-data }:
|
2016-10-03 15:06:13 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pcmanfm-qt";
|
2019-02-26 13:31:58 -08:00
|
|
|
version = "0.14.1";
|
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;
|
2019-02-26 13:31:58 -08:00
|
|
|
sha256 = "1zchxlbyiifing94mqwh45pp7z3ihldknqiaz0kanq1cnma1jj6k";
|
2016-10-03 15:06:13 -07:00
|
|
|
};
|
|
|
|
|
2017-02-19 04:43:43 -08:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkgconfig
|
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
|
|
|
|
];
|
|
|
|
|
2017-11-01 19:00:50 -07:00
|
|
|
postPatch = ''
|
|
|
|
for dir in autostart config; do
|
|
|
|
substituteInPlace $dir/CMakeLists.txt \
|
|
|
|
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2016-10-03 15:06:13 -07:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "File manager and desktop icon manager (Qt port of PCManFM and libfm)";
|
2018-05-21 18:24:38 -07:00
|
|
|
homepage = https://github.com/lxqt/pcmanfm-qt;
|
2016-10-03 15:06:13 -07:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = with platforms; unix;
|
2017-02-19 04:43:43 -08:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-03 15:06:13 -07:00
|
|
|
};
|
|
|
|
}
|