2022-04-27 09:35:20 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, kwindowsystem
|
|
|
|
, libfm-qt
|
2022-07-14 12:49:19 +00:00
|
|
|
, lxqt-qtplugin
|
2022-04-27 09:35:20 +00:00
|
|
|
, qtx11extras
|
2022-10-06 18:32:54 +00:00
|
|
|
, gitUpdater
|
2022-07-14 12:49:19 +00:00
|
|
|
, extraQtStyles ? []
|
2022-04-27 09:35:20 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "xdg-desktop-portal-lxqt";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "0.4.0";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxqt";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "gH4L6cjx3DjGWcgoqUSnsx4Bn+T9t03AXPB5ZNDa0Nw=";
|
2022-04-27 09:35:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
kwindowsystem
|
|
|
|
libfm-qt
|
2022-07-14 12:49:19 +00:00
|
|
|
lxqt-qtplugin
|
2022-04-27 09:35:20 +00:00
|
|
|
qtx11extras
|
2022-07-14 12:49:19 +00:00
|
|
|
]
|
|
|
|
++ extraQtStyles;
|
2022-04-27 09:35:20 +00:00
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/lxqt/xdg-desktop-portal-lxqt";
|
|
|
|
description = "Backend implementation for xdg-desktop-portal that is using Qt/KF5/libfm-qt";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|