2020-05-03 17:38:23 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-05-03 17:38:23 +00:00
|
|
|
, lxqt-build-tools
|
|
|
|
, pcre
|
|
|
|
, libexif
|
|
|
|
, xorg
|
|
|
|
, libfm
|
|
|
|
, menu-cache
|
|
|
|
, qtx11extras
|
|
|
|
, qttools
|
|
|
|
, lxqtUpdateScript
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
2020-05-03 17:38:23 +00:00
|
|
|
pname = "libfm-qt";
|
2021-04-25 03:57:28 +00:00
|
|
|
version = "0.17.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxqt";
|
|
|
|
repo = "libfm-qt";
|
2020-05-03 17:38:23 +00:00
|
|
|
rev = version;
|
2021-04-25 03:57:28 +00:00
|
|
|
sha256 = "0jdsqvwp81y4ylabrqdc673x80fp41rpp5w7c1v9zmk9k8z4s5ll";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
lxqt-build-tools
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pcre
|
|
|
|
libexif
|
|
|
|
xorg.libpthreadstubs
|
|
|
|
xorg.libxcb
|
|
|
|
xorg.libXdmcp
|
|
|
|
qtx11extras
|
|
|
|
qttools
|
|
|
|
libfm
|
|
|
|
menu-cache
|
|
|
|
];
|
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/lxqt/libfm-qt";
|
2021-02-13 14:23:35 +00:00
|
|
|
description = "Core library of PCManFM-Qt (Qt binding for libfm)";
|
|
|
|
license = licenses.lgpl21Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = with platforms; unix;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|