c766124771
svn path=/nixpkgs/trunk/; revision=23008
18 lines
494 B
Nix
18 lines
494 B
Nix
{ 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)
|