depot/third_party/nixpkgs/pkgs/desktops/lxqt/xdg-desktop-portal-lxqt/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

45 lines
869 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, kwindowsystem
, libfm-qt
, lxqt-qtplugin
, qtx11extras
, gitUpdater
, extraQtStyles ? []
}:
mkDerivation rec {
pname = "xdg-desktop-portal-lxqt";
version = "0.3.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "oEcFRBIYb/ZJQo9W+yIiq3l3eU1GqUzfDdF/Rvq5SKs=";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
kwindowsystem
libfm-qt
lxqt-qtplugin
qtx11extras
]
++ extraQtStyles;
passthru.updateScript = gitUpdater { };
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 ];
};
}