2020-04-25 17:01:05 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2020-04-25 17:01:05 +00:00
|
|
|
, lxqt-build-tools
|
|
|
|
, qtbase
|
|
|
|
, qttools
|
|
|
|
, qtx11extras
|
|
|
|
, qtsvg
|
2021-03-09 16:20:06 +00:00
|
|
|
, polkit
|
2020-04-25 17:01:05 +00:00
|
|
|
, polkit-qt
|
|
|
|
, kwindowsystem
|
|
|
|
, liblxqt
|
|
|
|
, libqtxdg
|
|
|
|
, pcre
|
2022-09-27 21:32:15 +00:00
|
|
|
, gitUpdater
|
2017-02-25 15:44:29 +00:00
|
|
|
}:
|
2016-10-03 22:10:07 +00:00
|
|
|
|
2019-07-27 21:05:17 +00:00
|
|
|
mkDerivation rec {
|
2016-10-03 22:10:07 +00:00
|
|
|
pname = "lxqt-policykit";
|
2023-11-05 20:23:50 +00:00
|
|
|
version = "1.4.0";
|
2016-10-03 22:10:07 +00:00
|
|
|
|
2017-11-02 01:57:37 +00:00
|
|
|
src = fetchFromGitHub {
|
2018-05-22 01:24:38 +00:00
|
|
|
owner = "lxqt";
|
2016-10-03 22:10:07 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-11-05 20:23:50 +00:00
|
|
|
hash = "sha256-w0o76oBFNy3syQqyFZdAbFUu8yX+uA6cMOHf3WfKPEU=";
|
2016-10-03 22:10:07 +00:00
|
|
|
};
|
|
|
|
|
2017-02-19 13:24:17 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2017-02-25 15:44:29 +00:00
|
|
|
lxqt-build-tools
|
2023-11-05 20:23:50 +00:00
|
|
|
qttools
|
2017-02-19 13:24:17 +00:00
|
|
|
];
|
2016-10-03 22:10:07 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2017-02-25 15:44:29 +00:00
|
|
|
qtbase
|
|
|
|
qtx11extras
|
|
|
|
qtsvg
|
2021-03-09 16:20:06 +00:00
|
|
|
polkit
|
2017-02-25 15:44:29 +00:00
|
|
|
polkit-qt
|
|
|
|
kwindowsystem
|
|
|
|
liblxqt
|
|
|
|
libqtxdg
|
2017-11-02 01:57:37 +00:00
|
|
|
pcre
|
2016-10-03 22:10:07 +00:00
|
|
|
];
|
|
|
|
|
2022-09-27 21:32:15 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
2020-04-26 14:53:59 +00:00
|
|
|
|
2019-07-27 21:05:17 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/lxqt/lxqt-policykit";
|
2021-02-08 14:41:52 +00:00
|
|
|
description = "The LXQt PolicyKit agent";
|
2022-10-18 01:52:01 +00:00
|
|
|
mainProgram = "lxqt-policykit-agent";
|
2021-02-08 14:41:52 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2019-11-02 17:49:35 +00:00
|
|
|
platforms = platforms.linux;
|
2022-04-14 13:52:15 +00:00
|
|
|
maintainers = teams.lxqt.members;
|
2016-10-03 22:10:07 +00:00
|
|
|
};
|
|
|
|
}
|