git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #17435 from ttuegel/konsole-kpart

Add missing Konsole kpart to various KDE applications

commitf7a48fb80e3ce7afe6aa655e90e9aafc0525329f authorFrederik Rietdijk <freddyrietdijk@fridh.nl> dateTue 2 Aug 2016, 09:13 (10 years ago) parent266fde839aff85
3 files changed+54−49
pkgs/applications/editors/kile/frameworks.nix+43−42 pkgs/desktops/kde-5/applications/dolphin.nix+2−2 pkgs/desktops/kde-5/applications/kate.nix+9−5
pkgs/applications/editors/kile/frameworks.nix+43−42
@@ -1,9 +1,9 @@
1−{ stdenv
1+{ kdeDerivation
22, lib
33, fetchgit
4−, extra-cmake-modules
4+, ecm
55, kdoctools
6−, makeQtWrapper
6+, kdeWrapper
77, qtscript
88, kconfig
99, kcrash
@@ -13,54 +13,55 @@
1313, kiconthemes
1414, kinit
1515, khtml
16+, konsole
1617, kparts
1718, ktexteditor
1819, kwindowsystem
1920, poppler
2021}:
2122
22−stdenv.mkDerivation rec {
23− name = "kile-${version}";
24− version = "2016-07-02";
23+let
24+ unwrapped =
25+ kdeDerivation rec {
26+ name = "kile-${version}";
27+ version = "2016-07-02";
2528
26− src = fetchgit {
27− url = git://anongit.kde.org/kile.git;
28− rev = "d38bc7069667119cc891b351188484ca6fb88973";
29− sha256 = "1nha71i16fs7nq2812b5565nbmbsbs3ak5czas6xg1dg5bsvdqh8";
29+ src = fetchgit {
30+ url = git://anongit.kde.org/kile.git;
31+ rev = "d38bc7069667119cc891b351188484ca6fb88973";
32+ sha256 = "1nha71i16fs7nq2812b5565nbmbsbs3ak5czas6xg1dg5bsvdqh8";
3033
31− };
34+ };
3235
33− nativeBuildInputs = [
34− extra-cmake-modules
35− kdoctools
36− makeQtWrapper
37− ];
36+ nativeBuildInputs = [ ecm kdoctools ];
3837
39− buildInputs = [
40− qtscript
41− kconfig
42− kcrash
43− kdbusaddons
44− kdelibs4support
45− kdoctools
46− kguiaddons
47− kiconthemes
48− kinit
49− khtml
50− kparts
51− ktexteditor
52− kwindowsystem
53− poppler
54− ];
38+ buildInputs = [
39+ kconfig
40+ kcrash
41+ kdbusaddons
42+ kdelibs4support
43+ kdoctools
44+ kguiaddons
45+ kiconthemes
46+ kinit
47+ khtml
48+ kparts
49+ ktexteditor
50+ kwindowsystem
51+ poppler
52+ qtscript
53+ ];
5554
56− postInstall = ''
57− wrapQtProgram "$out/bin/kile"
58− '';
59−
60− meta = {
61− description = "Kile is a user friendly TeX/LaTeX authoring tool for the KDE desktop environment";
62− homepage = https://www.kde.org/applications/office/kile/;
63− maintainers = with lib.maintainers; [ fridh ];
64− license = lib.licenses.gpl2Plus;
65− };
55+ meta = {
56+ description = "Kile is a user friendly TeX/LaTeX authoring tool for the KDE desktop environment";
57+ homepage = https://www.kde.org/applications/office/kile/;
58+ maintainers = with lib.maintainers; [ fridh ];
59+ license = lib.licenses.gpl2Plus;
60+ };
61+ };
62+in
63+kdeWrapper unwrapped
64+{
65+ targets = [ "bin/kile" ];
66+ paths = [ konsole.unwrapped ];
6667}
pkgs/desktops/kde-5/applications/dolphin.nix+2−2
@@ -4,7 +4,7 @@
44 baloo, baloo-widgets, dolphin-plugins, kactivities, kbookmarks, kcmutils,
55 kcompletion, kconfig, kcoreaddons, kdelibs4support, kdbusaddons,
66 kfilemetadata, ki18n, kiconthemes, kinit, kio, knewstuff, knotifications,
7− kparts, ktexteditor, kwindowsystem, phonon, solid
7+ konsole, kparts, ktexteditor, kwindowsystem, phonon, solid
88}:
99
1010let
@@ -27,5 +27,5 @@ in
2727kdeWrapper unwrapped
2828{
2929 targets = [ "bin/dolphin" ];
30− paths = [ dolphin-plugins ];
30+ paths = [ dolphin-plugins konsole.unwrapped ];
3131}
pkgs/desktops/kde-5/applications/kate.nix+9−5
@@ -1,10 +1,10 @@
11{
22 kdeApp, lib, kdeWrapper,
33 ecm, kdoctools,
4− kactivities, kconfig, kcrash, kguiaddons, kiconthemes, ki18n, kinit,
5− kjobwidgets, kio, kparts, ktexteditor, kwindowsystem, kxmlgui, kdbusaddons,
6− kwallet, plasma-framework, kitemmodels, knotifications, qtscript,
7− threadweaver, knewstuff, libgit2
4+ kactivities, kconfig, kcrash, kdbusaddons, kguiaddons, kiconthemes, ki18n,
5+ kinit, kio, kitemmodels, kjobwidgets, knewstuff, knotifications, konsole,
6+ kparts, ktexteditor, kwindowsystem, kwallet, kxmlgui, libgit2,
7+ plasma-framework, qtscript, threadweaver
88}:
99
1010let
@@ -24,4 +24,8 @@ let
2424 ];
2525 };
2626in
27−kdeWrapper unwrapped { targets = [ "bin/kate" "bin/kwrite" ]; }
27+kdeWrapper unwrapped
28+{
29+ targets = [ "bin/kate" "bin/kwrite" ];
30+ paths = [ konsole.unwrapped ];
31+}