2020-05-03 17:38:23 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, pkgconfig
|
|
|
|
, 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";
|
2020-12-25 13:55:36 +00:00
|
|
|
version = "0.16.0";
|
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;
|
2020-12-25 13:55:36 +00:00
|
|
|
sha256 = "0b52bczqvw4brxv5fszjrl1375yid6xzjm49ns9rx1jw71422w0p";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkgconfig
|
|
|
|
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; {
|
|
|
|
description = "Core library of PCManFM-Qt (Qt binding for libfm)";
|
|
|
|
homepage = "https://github.com/lxqt/libfm-qt";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|