2020-04-25 18:01:05 +01:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, pkgconfig
|
|
|
|
, 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";
|
2020-05-18 12:39:13 +01:00
|
|
|
version = "0.15.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;
|
2020-05-18 12:39:13 +01:00
|
|
|
sha256 = "1gjxml6c9m3xn094zbr9835sr4749dpxk4nc0ap9lg27qim63gx3";
|
2016-10-03 22:49:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkgconfig
|
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; {
|
2016-10-03 22:49:44 +01:00
|
|
|
description = "Core library of PCManFM-Qt (Qt binding for libfm)";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/lxqt/libfm-qt";
|
2016-10-03 22:49:44 +01:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = with platforms; unix;
|
2017-02-19 11:23:38 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-10-03 22:49:44 +01:00
|
|
|
};
|
|
|
|
}
|