1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/tools/security/polkit-kde-agent/default.nix
Thomas Tuegel dfaa39db41 polkit-qt-1: Qt 5 support
polkit-qt-1 is upgraded to the latest version, which supports Qt 5. The
attributes are also renamed to differentiate the Qt 4 and Qt 5
branches. The prior naming scheme differentiated between polkit-qt-1 and
polkit-qt, but we no longer package the latter.
2014-11-20 11:10:39 -06:00

22 lines
550 B
Nix

{ stdenv, fetchurl, kdelibs, polkit_qt4, gettext }:
stdenv.mkDerivation rec {
name = "polkit-kde-agent-1-0.99.0";
src = fetchurl {
url = "mirror://kde/stable/apps/KDE4.x/admin/${name}.tar.bz2";
sha256 = "0rxlq6x0vhvha8i6w109zpzzacp4imins55v4p4fq7a3k0kgywg3";
};
buildInputs = [ kdelibs polkit_qt4 ];
nativeBuildInputs = [ gettext ];
patchPhase = "sed -e s/KDE4_AUTOSTART/AUTOSTART/ -i CMakeLists.txt";
meta = {
platforms = stdenv.lib.platforms.linux;
description = "PolicyKit authentication agent for KDE";
};
}