Add polkit-kde-agent

Move pinentry and polkit-gnome to tools/security.

svn path=/nixpkgs/trunk/; revision=28656
This commit is contained in:
Yury G. Kudryashov 2011-08-18 12:52:50 +00:00
parent 0b669505c2
commit 0466e94091
5 changed files with 21 additions and 3 deletions

View file

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
buildNativeInputs = [ pkgconfig ];
meta = {
meta = {
description = "GnuPG's interface to passphrase input";
longDescription = ''

View file

@ -0,0 +1,16 @@
{ stdenv, fetchurl, kdelibs, polkit_qt_1, 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_qt_1 ];
buildNativeInputs = [ gettext ];
patchPhase = "sed -e s/KDE4_AUTOSTART/AUTOSTART/ -i CMakeLists.txt";
}

View file

@ -1142,7 +1142,7 @@ let
philter = callPackage ../tools/networking/philter { };
pinentry = callPackage ../tools/misc/pinentry {
pinentry = callPackage ../tools/security/pinentry {
inherit (gnome) glib gtk;
};
@ -1160,7 +1160,9 @@ let
polipo = callPackage ../servers/polipo { };
polkit_gnome = callPackage ../tools/misc/polkit-gnome { };
polkit_gnome = callPackage ../tools/security/polkit-gnome { };
polkit_kde_agent = newScope pkgs.kde4 ../tools/security/polkit-kde-agent { };
povray = callPackage ../tools/graphics/povray { };