depot/third_party/nixpkgs/pkgs/desktops/lxqt/lxqt-policykit/default.nix

63 lines
1 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
kwindowsystem,
liblxqt,
libqtxdg,
lxqt-build-tools,
pcre,
pkg-config,
polkit,
polkit-qt-1,
qtbase,
qtsvg,
qttools,
qtwayland,
wrapQtAppsHook,
gitUpdater,
}:
stdenv.mkDerivation rec {
pname = "lxqt-policykit";
version = "2.1.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-wj9i09F9If5JZO6W358XcZ/rawt9Oj3QwDvLLRvS2Bc=";
};
nativeBuildInputs = [
cmake
pkg-config
lxqt-build-tools
qttools
wrapQtAppsHook
];
buildInputs = [
kwindowsystem
liblxqt
libqtxdg
pcre
polkit
polkit-qt-1
qtbase
qtsvg
qtwayland
];
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://github.com/lxqt/lxqt-policykit";
description = "LXQt PolicyKit agent";
mainProgram = "lxqt-policykit-agent";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = teams.lxqt.members;
};
}