2022-04-17 01:49:10 +00:00
|
|
|
{ lib
|
2024-04-18 17:21:42 +00:00
|
|
|
, stdenv
|
2022-04-17 01:49:10 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, kwindowsystem
|
2023-08-31 17:22:05 +00:00
|
|
|
, libexif
|
2022-04-17 01:49:10 +00:00
|
|
|
, libfm-qt
|
2022-07-09 17:45:33 +00:00
|
|
|
, lxqt-qtplugin
|
2023-08-31 17:22:05 +00:00
|
|
|
, menu-cache
|
2024-04-18 17:21:42 +00:00
|
|
|
, qtbase
|
|
|
|
, wrapQtAppsHook
|
2022-09-27 21:32:15 +00:00
|
|
|
, gitUpdater
|
2022-07-09 17:45:33 +00:00
|
|
|
, extraQtStyles ? []
|
2022-04-17 01:49:10 +00:00
|
|
|
}:
|
|
|
|
|
2024-04-18 17:21:42 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2022-04-17 01:49:10 +00:00
|
|
|
pname = "xdg-desktop-portal-lxqt";
|
2024-11-07 02:22:17 +00:00
|
|
|
version = "1.1.0";
|
2022-04-17 01:49:10 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxqt";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-11-07 02:22:17 +00:00
|
|
|
hash = "sha256-uII6elLoREc/AO6NSe9QsT+jYARd2hgKSa84NCDza10=";
|
2022-04-17 01:49:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2024-04-18 17:21:42 +00:00
|
|
|
wrapQtAppsHook
|
2022-04-17 01:49:10 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
kwindowsystem
|
2023-08-31 17:22:05 +00:00
|
|
|
libexif
|
2022-04-17 01:49:10 +00:00
|
|
|
libfm-qt
|
2022-07-09 17:45:33 +00:00
|
|
|
lxqt-qtplugin
|
2023-08-31 17:22:05 +00:00
|
|
|
menu-cache
|
2024-04-18 17:21:42 +00:00
|
|
|
qtbase
|
2022-07-09 17:45:33 +00:00
|
|
|
]
|
|
|
|
++ extraQtStyles;
|
2022-04-17 01:49:10 +00:00
|
|
|
|
2022-09-27 21:32:15 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
2022-04-17 01:49:10 +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 ];
|
|
|
|
};
|
|
|
|
}
|