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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

57 lines
1.1 KiB
Nix
Raw Normal View History

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