From dd19f22e7e4599aeeba6baa4e46619f300d32eb4 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Tue, 4 Oct 2011 11:12:11 +0000 Subject: [PATCH] Add kde4.kile svn path=/nixpkgs/trunk/; revision=29622 --- .../editors/kile/{default.nix => 2.0.nix} | 0 pkgs/applications/editors/kile/2.1.nix | 21 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++- 3 files changed, 24 insertions(+), 1 deletion(-) rename pkgs/applications/editors/kile/{default.nix => 2.0.nix} (100%) create mode 100644 pkgs/applications/editors/kile/2.1.nix diff --git a/pkgs/applications/editors/kile/default.nix b/pkgs/applications/editors/kile/2.0.nix similarity index 100% rename from pkgs/applications/editors/kile/default.nix rename to pkgs/applications/editors/kile/2.0.nix diff --git a/pkgs/applications/editors/kile/2.1.nix b/pkgs/applications/editors/kile/2.1.nix new file mode 100644 index 000000000000..c2d2167e3ddc --- /dev/null +++ b/pkgs/applications/editors/kile/2.1.nix @@ -0,0 +1,21 @@ +{stdenv, fetchurl, kdelibs, cmake, gettext }: + +stdenv.mkDerivation rec { + name = "kile-2.1"; + + src = fetchurl { + url = "mirror://sourceforge/kile/${name}.tar.bz2"; + sha256 = "0ag6ya0625w34hpk0bpkjyi0ydw699zbkf86vwc19mh9cb0n0aic"; + }; + + buildNativeInputs = [ cmake gettext ]; + buildInputs = [ kdelibs ]; + + meta = { + description = "An integrated LaTeX editor for KDE"; + homepage = http://kile.sourceforge.net; + maintainers = [ stdenv.lib.maintainers.urkud ]; + license = stdenv.lib.licenses.gpl2Plus; + inherit (kdelibs.meta) platforms; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dfed66e56089..afa0dccfe0f9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7895,7 +7895,7 @@ let inherit (kde3) kdelibs; }; - kile = callPackage ../applications/editors/kile { + kile = callPackage ../applications/editors/kile/2.0.nix { inherit (kde3) arts kdelibs; qt = qt3; }; @@ -7962,6 +7962,8 @@ let kdiff3 = callPackage ../tools/text/kdiff3 { }; + kile = callPackage ../applications/editors/kile/2.1.nix { }; + kmplayer = callPackage ../applications/video/kmplayer { inherit (pkgs.gtkLibs) pango; }; -- 2.11.4.GIT