2020-04-25 18:01:05 +01:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2020-04-25 18:01:05 +01:00
|
|
|
, lxqt-build-tools
|
|
|
|
, pcre
|
|
|
|
, libexif
|
|
|
|
, xorg
|
|
|
|
, libfm
|
|
|
|
, menu-cache
|
|
|
|
, qtx11extras
|
|
|
|
, qttools
|
2020-04-26 15:53:59 +01:00
|
|
|
, lxqtUpdateScript
|
2017-02-25 15:44:29 +00:00
|
|
|
}:
|
2016-10-03 22:49:44 +01:00
|
|
|
|
2019-07-27 22:05:17 +01:00
|
|
|
mkDerivation rec {
|
2020-04-26 15:53:59 +01:00
|
|
|
pname = "libfm-qt";
|
2021-04-16 21:32:40 +01:00
|
|
|
version = "0.17.1";
|
2016-10-03 22:49:44 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-05-22 02:24:38 +01:00
|
|
|
owner = "lxqt";
|
2019-10-03 19:26:21 +01:00
|
|
|
repo = "libfm-qt";
|
2020-04-26 21:25:21 +01:00
|
|
|
rev = version;
|
2021-04-16 21:32:40 +01:00
|
|
|
sha256 = "0jdsqvwp81y4ylabrqdc673x80fp41rpp5w7c1v9zmk9k8z4s5ll";
|
2016-10-03 22:49:44 +01: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 22:49:44 +01: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 22:49:44 +01:00
|
|
|
libfm
|
|
|
|
menu-cache
|
|
|
|
];
|
|
|
|
|
2020-04-26 15:53:59 +01:00
|
|
|
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
|
|
|
|
2019-07-27 22:05:17 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01: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 22:49:44 +01:00
|
|
|
platforms = with platforms; unix;
|
2017-02-19 11:23:38 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-03 22:49:44 +01:00
|
|
|
};
|
|
|
|
}
|