libsForQt5.polkit-qt: remove unused dependencies

These were added in 1d8ffebb1133f1ec3802562868b8b103f27eba93,
with little review or consideration, and no obvious reason.
The qt6 variant does not require these dependencies,
neither did the old qt4 or qt5 versions need them.
This commit is contained in:
Grimmauld
2025-04-27 21:15:08 +02:00
parent 0571e373ab
commit 3bfcf78cb7

View File

@@ -1,5 +1,4 @@
{
stdenv,
lib,
mkDerivation,
fetchurl,
@@ -7,10 +6,6 @@
pkg-config,
polkit,
glib,
pcre,
libselinux,
libsepol,
util-linux,
}:
mkDerivation rec {
@@ -18,7 +13,7 @@ mkDerivation rec {
version = "0.114.0";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${pname}-${version}.tar.xz";
url = "mirror://kde/stable/polkit-qt-1/polkit-qt-1-${version}.tar.xz";
sha256 = "sha256-LrDyJEWIgpX/or+8DDaThHoPlzu2sMPkzOAhi+fjkH4=";
};
@@ -27,21 +22,14 @@ mkDerivation rec {
pkg-config
];
buildInputs =
[
glib
pcre
polkit
]
++ lib.optionals stdenv.hostPlatform.isLinux [
libselinux
libsepol
util-linux
];
buildInputs = [
glib
polkit
];
meta = with lib; {
meta = {
description = "Qt wrapper around PolKit";
maintainers = with maintainers; [ ttuegel ];
platforms = platforms.linux;
maintainers = with lib.maintainers; [ ttuegel ];
platforms = lib.platforms.linux;
};
}