1{
2 lib,
3 mkDerivation,
4 fetchurl,
5 cmake,
6 pkg-config,
7 polkit,
8 glib,
9}:
10
11mkDerivation rec {
12 pname = "polkit-qt-1";
13 version = "0.114.0";
14
15 src = fetchurl {
16 url = "mirror://kde/stable/polkit-qt-1/polkit-qt-1-${version}.tar.xz";
17 sha256 = "sha256-LrDyJEWIgpX/or+8DDaThHoPlzu2sMPkzOAhi+fjkH4=";
18 };
19
20 nativeBuildInputs = [
21 cmake
22 pkg-config
23 ];
24
25 buildInputs = [
26 glib
27 polkit
28 ];
29
30 meta = {
31 description = "Qt wrapper around PolKit";
32 maintainers = with lib.maintainers; [ ttuegel ];
33 platforms = lib.platforms.linux;
34 };
35}