nixpkgs/pkgs/desktops/kde-4.5/kde-package/default.nix
Yury G. Kudryashov ede16e5dc5 polkit-qt-1: use kdePackage
svn path=/nixpkgs/trunk/; revision=23010
2010-08-06 20:22:22 +00:00

18 lines
556 B
Nix

{ stdenv, fetchurl }:
{ pn, v, stable ? true, sha256, subdir ? null }: args:
stdenv.mkDerivation ({
name = "${pn}-${v}";
src = fetchurl {
url = "mirror://kde/" + (if stable then "" else "un") + "stable/" +
(if subdir == null then "${v}/src" else subdir) + "/${pn}-${v}.tar.bz2";
inherit sha256;
};
meta = {
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
platforms = stdenv.lib.platforms.linux;
inherit stable;
homepage = http://www.kde.org;
} // ( if args ? meta then args.meta else { } );
} // args)