mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
b44f2c7ad3
svn path=/nixpkgs/trunk/; revision=28847
22 lines
552 B
Nix
22 lines
552 B
Nix
{ 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";
|
|
|
|
meta = {
|
|
platforms = stdenv.lib.platforms.linux;
|
|
description = "PolicyKit authentication agent for KDE";
|
|
};
|
|
}
|