nixpkgs/pkgs/desktops/kde-4.5/kde-package/default.nix

18 lines
494 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
{ pn, v, stable ? true, sha256 }: args:
stdenv.mkDerivation ({
name = "${pn}-${v}";
src = fetchurl {
url = "mirror://kde/" + (if stable then "" else "un")
+ "stable/${v}/src/${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)