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

58 lines
966 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
2021-01-17 02:21:50 +00:00
, pkg-config
, lxqt-build-tools
, qtbase
, qttools
, qtx11extras
, qtsvg
, polkit-qt
, kwindowsystem
, liblxqt
, libqtxdg
, pcre
, lxqtUpdateScript
2017-02-25 15:44:29 +00:00
}:
2016-10-03 22:10:07 +00:00
mkDerivation rec {
2016-10-03 22:10:07 +00:00
pname = "lxqt-policykit";
2020-12-15 22:40:42 +00:00
version = "0.16.0";
2016-10-03 22:10:07 +00:00
2017-11-02 01:57:37 +00:00
src = fetchFromGitHub {
owner = "lxqt";
2016-10-03 22:10:07 +00:00
repo = pname;
rev = version;
2020-12-15 22:40:42 +00:00
sha256 = "05qi550cjyjzhlma4zxnp1pn8i5cgak2k2mwwh2a5gpicp5axavn";
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
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
qttools
qtx11extras
qtsvg
polkit-qt
kwindowsystem
liblxqt
libqtxdg
2017-11-02 01:57:37 +00:00
pcre
2016-10-03 22:10:07 +00:00
];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
homepage = "https://github.com/lxqt/lxqt-policykit";
description = "The LXQt PolicyKit agent";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
2017-02-19 13:24:17 +00:00
maintainers = with maintainers; [ romildo ];
2016-10-03 22:10:07 +00:00
};
}