2020-04-25 10:01:05 -07:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
2021-01-16 18:21:50 -08:00
|
|
|
, pkg-config
|
2020-04-25 10:01:05 -07:00
|
|
|
, lxqt-build-tools
|
|
|
|
, pcre
|
|
|
|
, libexif
|
|
|
|
, xorg
|
|
|
|
, libfm
|
|
|
|
, menu-cache
|
|
|
|
, qtx11extras
|
|
|
|
, qttools
|
2020-04-26 07:53:59 -07:00
|
|
|
, lxqtUpdateScript
|
2017-02-25 07:44:29 -08:00
|
|
|
}:
|
2016-10-03 14:49:44 -07:00
|
|
|
|
2019-07-27 14:05:17 -07:00
|
|
|
mkDerivation rec {
|
2020-04-26 07:53:59 -07:00
|
|
|
pname = "libfm-qt";
|
2020-12-15 14:40:41 -08:00
|
|
|
version = "0.16.0";
|
2016-10-03 14:49:44 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-05-21 18:24:38 -07:00
|
|
|
owner = "lxqt";
|
2019-10-03 11:26:21 -07:00
|
|
|
repo = "libfm-qt";
|
2020-04-26 13:25:21 -07:00
|
|
|
rev = version;
|
2020-12-15 14:40:41 -08:00
|
|
|
sha256 = "0b52bczqvw4brxv5fszjrl1375yid6xzjm49ns9rx1jw71422w0p";
|
2016-10-03 14:49:44 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2021-01-16 18:21:50 -08:00
|
|
|
pkg-config
|
2017-02-25 07:44:29 -08:00
|
|
|
lxqt-build-tools
|
2016-10-03 14:49:44 -07:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2017-11-01 18:53:34 -07:00
|
|
|
pcre
|
|
|
|
libexif
|
|
|
|
xorg.libpthreadstubs
|
|
|
|
xorg.libxcb
|
|
|
|
xorg.libXdmcp
|
2017-02-25 07:44:29 -08:00
|
|
|
qtx11extras
|
|
|
|
qttools
|
2016-10-03 14:49:44 -07:00
|
|
|
libfm
|
|
|
|
menu-cache
|
|
|
|
];
|
|
|
|
|
2020-04-26 07:53:59 -07:00
|
|
|
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
|
|
|
|
2019-07-27 14:05:17 -07:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/lxqt/libfm-qt";
|
2021-02-08 06:41:52 -08:00
|
|
|
description = "Core library of PCManFM-Qt (Qt binding for libfm)";
|
|
|
|
license = licenses.lgpl21Plus;
|
2016-10-03 14:49:44 -07:00
|
|
|
platforms = with platforms; unix;
|
2017-02-19 03:23:38 -08:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-03 14:49:44 -07:00
|
|
|
};
|
|
|
|
}
|