nixpkgs/pkgs/desktops/lxqt/pcmanfm-qt/default.nix

46 lines
1 KiB
Nix
Raw Normal View History

2019-02-05 23:14:23 +00:00
{ stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt, qtbase, qttools,
qtx11extras, libfm-qt, menu-cache, lxmenu-data }:
2016-10-03 22:06:13 +00:00
stdenv.mkDerivation rec {
pname = "pcmanfm-qt";
2019-02-26 21:31:58 +00:00
version = "0.14.1";
2016-10-03 22:06:13 +00:00
2017-11-02 02:00:50 +00:00
src = fetchFromGitHub {
owner = "lxqt";
2016-10-03 22:06:13 +00:00
repo = pname;
rev = version;
2019-02-26 21:31:58 +00:00
sha256 = "1zchxlbyiifing94mqwh45pp7z3ihldknqiaz0kanq1cnma1jj6k";
2016-10-03 22:06:13 +00:00
};
2017-02-19 12:43:43 +00:00
nativeBuildInputs = [
cmake
pkgconfig
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 = [
2019-02-05 23:14:23 +00:00
qtbase
qttools
qtx11extras
2018-05-22 13:54:12 +00:00
libfm-qt
libfm-qt
2016-10-03 22:06:13 +00:00
menu-cache
lxmenu-data
];
2017-11-02 02:00:50 +00: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 22:06:13 +00:00
meta = with stdenv.lib; {
description = "File manager and desktop icon manager (Qt port of PCManFM and libfm)";
homepage = https://github.com/lxqt/pcmanfm-qt;
2016-10-03 22:06:13 +00:00
license = licenses.gpl2;
platforms = with platforms; unix;
2017-02-19 12:43:43 +00:00
maintainers = with maintainers; [ romildo ];
2016-10-03 22:06:13 +00:00
};
}