2015-09-27 16:11:01 +01:00
|
|
|
{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig
|
|
|
|
, kdelibs, polkit_qt4 }:
|
2011-08-18 13:52:50 +01:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2014-11-18 01:00:17 +00:00
|
|
|
buildInputs = [ kdelibs polkit_qt4 ];
|
2011-08-18 13:52:50 +01:00
|
|
|
|
2015-09-27 16:11:01 +01:00
|
|
|
nativeBuildInputs = [ automoc4 cmake gettext perl pkgconfig ];
|
2011-08-18 13:52:50 +01:00
|
|
|
|
|
|
|
patchPhase = "sed -e s/KDE4_AUTOSTART/AUTOSTART/ -i CMakeLists.txt";
|
2011-08-27 16:19:05 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
description = "PolicyKit authentication agent for KDE";
|
|
|
|
};
|
2011-08-18 13:52:50 +01:00
|
|
|
}
|