2020-04-25 17:01:05 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2020-04-25 17:01:05 +00:00
|
|
|
, lxqt-build-tools
|
|
|
|
, pcre
|
|
|
|
, libexif
|
|
|
|
, xorg
|
|
|
|
, libfm
|
|
|
|
, menu-cache
|
|
|
|
, qtx11extras
|
|
|
|
, qttools
|
2022-09-27 21:32:15 +00:00
|
|
|
, gitUpdater
|
2017-02-25 15:44:29 +00:00
|
|
|
}:
|
2016-10-03 21:49:44 +00:00
|
|
|
|
2019-07-27 21:05:17 +00:00
|
|
|
mkDerivation rec {
|
2020-04-26 14:53:59 +00:00
|
|
|
pname = "libfm-qt";
|
2023-04-16 16:53:28 +00:00
|
|
|
version = "1.3.0";
|
2016-10-03 21:49:44 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-05-22 01:24:38 +00:00
|
|
|
owner = "lxqt";
|
2019-10-03 18:26:21 +00:00
|
|
|
repo = "libfm-qt";
|
2020-04-26 20:25:21 +00:00
|
|
|
rev = version;
|
2023-04-16 16:53:28 +00:00
|
|
|
sha256 = "MK1QMYfr0T/cE46IUWarG9a/PJUSSskk1W3y2+kvEwg=";
|
2016-10-03 21:49:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2017-02-25 15:44:29 +00:00
|
|
|
lxqt-build-tools
|
2016-10-03 21:49:44 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2017-11-02 01:53:34 +00:00
|
|
|
pcre
|
|
|
|
libexif
|
|
|
|
xorg.libpthreadstubs
|
|
|
|
xorg.libxcb
|
|
|
|
xorg.libXdmcp
|
2017-02-25 15:44:29 +00:00
|
|
|
qtx11extras
|
|
|
|
qttools
|
2016-10-03 21:49:44 +00:00
|
|
|
libfm
|
|
|
|
menu-cache
|
|
|
|
];
|
|
|
|
|
2022-09-27 21:32:15 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
2020-04-26 14:53:59 +00:00
|
|
|
|
2019-07-27 21:05:17 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/lxqt/libfm-qt";
|
2021-02-08 14:41:52 +00:00
|
|
|
description = "Core library of PCManFM-Qt (Qt binding for libfm)";
|
|
|
|
license = licenses.lgpl21Plus;
|
2016-10-03 21:49:44 +00:00
|
|
|
platforms = with platforms; unix;
|
2022-04-14 13:52:15 +00:00
|
|
|
maintainers = teams.lxqt.members;
|
2016-10-03 21:49:44 +00:00
|
|
|
};
|
|
|
|
}
|