2021-03-09 03:18:52 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchurl
|
|
|
|
, cmake
|
|
|
|
, pkg-config
|
|
|
|
, polkit
|
|
|
|
, glib
|
|
|
|
, pcre
|
|
|
|
, libselinux
|
|
|
|
, libsepol
|
|
|
|
, util-linux
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "polkit-qt-1";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "0.114.0";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/${pname}-${version}.tar.xz";
|
2022-04-27 09:35:20 +00:00
|
|
|
sha256 = "sha256-LrDyJEWIgpX/or+8DDaThHoPlzu2sMPkzOAhi+fjkH4=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
pcre
|
|
|
|
polkit
|
|
|
|
] ++ lib.optionals stdenv.isLinux [ libselinux libsepol util-linux ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Qt wrapper around PolKit";
|
2021-03-09 03:18:52 +00:00
|
|
|
maintainers = with maintainers; [ ttuegel ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|