nixpkgs/pkgs/tools/security/polkit-kde-agent/default.nix
Thomas Tuegel 2e0589b4ca kde414: build with kdelibs-4.14.12
Upstream changes to the build system required adjusting many packages'
dependencies. On the Nixpkgs side, we no longer propagate the dependency
on cmake (to reduce closure size), so downstream dependencies had to be
adjusted for most packages that depend on kdelibs.
2015-09-27 15:08:12 -05:00

23 lines
615 B
Nix

{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig
, kdelibs, polkit_qt4 }:
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 = [ automoc4 cmake gettext perl pkgconfig ];
patchPhase = "sed -e s/KDE4_AUTOSTART/AUTOSTART/ -i CMakeLists.txt";
meta = {
platforms = stdenv.lib.platforms.linux;
description = "PolicyKit authentication agent for KDE";
};
}