kdevelop: move to kde/gear release 22.04.2

Also, use python 3.9 to build kdev-python plugin, broken on python 3.10.

+62 -81
-24
pkgs/applications/editors/kdevelop5/kdev-php.nix
··· 1 - { stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, kdevelop-pg-qt }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "kdev-php"; 5 - version = "5.6.2"; 6 - 7 - src = fetchurl { 8 - url = "mirror://kde/stable/kdevelop/${version}/src/${pname}-${version}.tar.xz"; 9 - hash = "sha256-8Qg9rsK4x1LeGgRB0Pn3InSx4tKccjAF7Xjc+Lpxfgw="; 10 - }; 11 - 12 - nativeBuildInputs = [ cmake extra-cmake-modules ]; 13 - buildInputs = [ kdevelop-pg-qt threadweaver ktexteditor kdevelop-unwrapped ]; 14 - 15 - dontWrapQtApps = true; 16 - 17 - meta = with lib; { 18 - maintainers = [ maintainers.aanderse ]; 19 - platforms = platforms.linux; 20 - description = "PHP support for KDevelop"; 21 - homepage = "https://www.kdevelop.org"; 22 - license = [ licenses.gpl2 ]; 23 - }; 24 - }
···
-28
pkgs/applications/editors/kdevelop5/kdev-python.nix
··· 1 - { stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "kdev-python"; 5 - version = "5.6.2"; 6 - 7 - src = fetchurl { 8 - url = "mirror://kde/stable/kdevelop/${version}/src/${pname}-${version}.tar.xz"; 9 - hash = "sha256-IPm3cblhJi3tmGpPMrjSWa2fe8SLsp6sCl1YU74dkX8="; 10 - }; 11 - 12 - cmakeFlags = [ 13 - "-DPYTHON_EXECUTABLE=${python}/bin/python" 14 - ]; 15 - 16 - nativeBuildInputs = [ cmake extra-cmake-modules ]; 17 - buildInputs = [ threadweaver ktexteditor kdevelop-unwrapped ]; 18 - 19 - dontWrapQtApps = true; 20 - 21 - meta = with lib; { 22 - maintainers = [ maintainers.aanderse ]; 23 - platforms = platforms.linux; 24 - description = "Python support for KDevelop"; 25 - homepage = "https://www.kdevelop.org"; 26 - license = [ licenses.gpl2 ]; 27 - }; 28 - }
···
+2 -6
pkgs/applications/editors/kdevelop5/kdevelop-pg-qt.nix pkgs/applications/kde/kdevelop/kdevelop-pg-qt.nix
··· 1 { lib, stdenv, fetchurl, cmake, pkg-config, extra-cmake-modules, qtbase }: 2 3 - let 4 pname = "kdevelop-pg-qt"; 5 version = "2.2.1"; 6 7 - in 8 - stdenv.mkDerivation rec { 9 - name = "${pname}-${version}"; 10 - 11 src = fetchurl { 12 - url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz"; 13 sha256 = "0ay6m6j6zgrbcm48f14bass83bk4w5qnx76xihc05p69i9w32ff1"; 14 }; 15
··· 1 { lib, stdenv, fetchurl, cmake, pkg-config, extra-cmake-modules, qtbase }: 2 3 + stdenv.mkDerivation rec { 4 pname = "kdevelop-pg-qt"; 5 version = "2.2.1"; 6 7 src = fetchurl { 8 + url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.tar.xz"; 9 sha256 = "0ay6m6j6zgrbcm48f14bass83bk4w5qnx76xihc05p69i9w32ff1"; 10 }; 11
+7 -9
pkgs/applications/editors/kdevelop5/kdevelop.nix pkgs/applications/kde/kdevelop/kdevelop.nix
··· 1 - 2 - { mkDerivation, lib, fetchurl, cmake, gettext, pkg-config, extra-cmake-modules 3 , qtquickcontrols, qtwebkit, qttools, kde-cli-tools, qtbase 4 , kconfig, kdeclarative, kdoctools, kiconthemes, ki18n, kitemmodels, kitemviews 5 , kjobwidgets, kcmutils, kio, knewstuff, knotifyconfig, kparts, ktexteditor 6 , threadweaver, kxmlgui, kwindowsystem, grantlee, kcrash, karchive, kguiaddons 7 , plasma-framework, krunner, kdevelop-pg-qt, shared-mime-info, libkomparediff2 8 - , libksysguard, konsole, llvmPackages, makeWrapper, kpurpose, boost 9 }: 10 11 mkDerivation rec { 12 pname = "kdevelop"; 13 - version = "5.6.2"; 14 - 15 - src = fetchurl { 16 - url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.tar.xz"; 17 - sha256 = "sha256-D4a8P+U/dhwePj91RFd6DEFDO+i/8xDPLnKfdvQ2O/Y="; 18 - }; 19 20 nativeBuildInputs = [ 21 cmake gettext pkg-config extra-cmake-modules makeWrapper ··· 32 kjobwidgets kcmutils kio knewstuff knotifyconfig kparts ktexteditor 33 threadweaver kxmlgui kwindowsystem grantlee plasma-framework krunner 34 shared-mime-info libksysguard konsole kcrash karchive kguiaddons kpurpose 35 ]; 36 37 # https://cgit.kde.org/kdevelop.git/commit/?id=716372ae2e8dff9c51e94d33443536786e4bd85b
··· 1 + { mkDerivation, lib, cmake, gettext, pkg-config, extra-cmake-modules 2 , qtquickcontrols, qtwebkit, qttools, kde-cli-tools, qtbase 3 , kconfig, kdeclarative, kdoctools, kiconthemes, ki18n, kitemmodels, kitemviews 4 , kjobwidgets, kcmutils, kio, knewstuff, knotifyconfig, kparts, ktexteditor 5 , threadweaver, kxmlgui, kwindowsystem, grantlee, kcrash, karchive, kguiaddons 6 , plasma-framework, krunner, kdevelop-pg-qt, shared-mime-info, libkomparediff2 7 + , libksysguard, konsole, llvmPackages_13, makeWrapper, kpurpose, boost 8 + , qtwebengine, cppcheck 9 }: 10 11 + let 12 + llvmPackages = llvmPackages_13; 13 + in 14 mkDerivation rec { 15 pname = "kdevelop"; 16 17 nativeBuildInputs = [ 18 cmake gettext pkg-config extra-cmake-modules makeWrapper ··· 29 kjobwidgets kcmutils kio knewstuff knotifyconfig kparts ktexteditor 30 threadweaver kxmlgui kwindowsystem grantlee plasma-framework krunner 31 shared-mime-info libksysguard konsole kcrash karchive kguiaddons kpurpose 32 + cppcheck qtwebengine 33 ]; 34 35 # https://cgit.kde.org/kdevelop.git/commit/?id=716372ae2e8dff9c51e94d33443536786e4bd85b
pkgs/applications/editors/kdevelop5/wrapper.nix pkgs/applications/kde/kdevelop/wrapper.nix
+5
pkgs/applications/kde/default.nix
··· 122 kdenlive = callPackage ./kdenlive {}; 123 kdepim-runtime = callPackage ./kdepim-runtime {}; 124 kdepim-addons = callPackage ./kdepim-addons.nix {}; 125 kdf = callPackage ./kdf.nix {}; 126 kdialog = callPackage ./kdialog.nix {}; 127 kdiamond = callPackage ./kdiamond.nix {};
··· 122 kdenlive = callPackage ./kdenlive {}; 123 kdepim-runtime = callPackage ./kdepim-runtime {}; 124 kdepim-addons = callPackage ./kdepim-addons.nix {}; 125 + kdevelop-pg-qt = callPackage ./kdevelop/kdevelop-pg-qt.nix {}; 126 + kdevelop-unwrapped = callPackage ./kdevelop/kdevelop.nix {}; 127 + kdev-php = callPackage ./kdevelop/kdev-php.nix {}; 128 + kdev-python = callPackage ./kdevelop/kdev-python.nix {}; 129 + kdevelop = callPackage ./kdevelop/wrapper.nix {}; 130 kdf = callPackage ./kdf.nix {}; 131 kdialog = callPackage ./kdialog.nix {}; 132 kdiamond = callPackage ./kdiamond.nix {};
+18
pkgs/applications/kde/kdevelop/kdev-php.nix
···
··· 1 + { mkDerivation, lib, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, kdevelop-pg-qt }: 2 + 3 + mkDerivation rec { 4 + pname = "kdev-php"; 5 + 6 + nativeBuildInputs = [ cmake extra-cmake-modules ]; 7 + buildInputs = [ kdevelop-pg-qt threadweaver ktexteditor kdevelop-unwrapped ]; 8 + 9 + dontWrapQtApps = true; 10 + 11 + meta = with lib; { 12 + maintainers = [ maintainers.aanderse ]; 13 + platforms = platforms.linux; 14 + description = "PHP support for KDevelop"; 15 + homepage = "https://www.kdevelop.org"; 16 + license = [ licenses.gpl2 ]; 17 + }; 18 + }
+28
pkgs/applications/kde/kdevelop/kdev-python.nix
···
··· 1 + { mkDerivation, lib, cmake, extra-cmake-modules 2 + , threadweaver, ktexteditor, kdevelop-unwrapped, python39 3 + }: 4 + let 5 + # FIXME: stick with python 3.9 until MR supporting 3.10 is ready: 6 + # https://invent.kde.org/kdevelop/kdev-python/-/merge_requests/16 7 + python = python39; 8 + in 9 + mkDerivation rec { 10 + pname = "kdev-python"; 11 + 12 + cmakeFlags = [ 13 + "-DPYTHON_EXECUTABLE=${python}/bin/python" 14 + ]; 15 + 16 + nativeBuildInputs = [ cmake extra-cmake-modules ]; 17 + buildInputs = [ threadweaver ktexteditor kdevelop-unwrapped ]; 18 + 19 + dontWrapQtApps = true; 20 + 21 + meta = with lib; { 22 + maintainers = [ maintainers.aanderse ]; 23 + platforms = platforms.linux; 24 + description = "Python support for KDevelop"; 25 + homepage = "https://www.kdevelop.org"; 26 + license = [ licenses.gpl2 ]; 27 + }; 28 + }
+2 -1
pkgs/top-level/aliases.nix
··· 1646 ffmpegthumbs filelight granatier gwenview k3b kactivitymanagerd kaddressbook 1647 kalendar kalzium kapman kapptemplate kate katomic kblackbox kblocks kbounce 1648 kcachegrind kcalc kcharselect kcolorchooser kde-cli-tools kde-gtk-config 1649 - kdenlive kdeplasma-addons kdf kdialog kdiamond keditbookmarks kfind kfloppy 1650 kgamma5 kget kgpg khelpcenter kig kigo killbots kinfocenter kitinerary 1651 kleopatra klettres klines kmag kmail kmenuedit kmines kmix kmplot 1652 knavalbattle knetwalk knights kollision kolourpaint kompare konsole kontact
··· 1646 ffmpegthumbs filelight granatier gwenview k3b kactivitymanagerd kaddressbook 1647 kalendar kalzium kapman kapptemplate kate katomic kblackbox kblocks kbounce 1648 kcachegrind kcalc kcharselect kcolorchooser kde-cli-tools kde-gtk-config 1649 + kdenlive kdeplasma-addons kdevelop-pg-qt kdevelop-unwrapped kdev-php 1650 + kdev-python kdevelop kdf kdialog kdiamond keditbookmarks kfind kfloppy 1651 kgamma5 kget kgpg khelpcenter kig kigo killbots kinfocenter kitinerary 1652 kleopatra klettres klines kmag kmail kmenuedit kmines kmix kmplot 1653 knavalbattle knetwalk knights kollision kolourpaint kompare konsole kontact
-13
pkgs/top-level/all-packages.nix
··· 27742 27743 kdeltachat = libsForQt5.callPackage ../applications/networking/instant-messengers/kdeltachat { }; 27744 27745 - kdevelop-pg-qt = libsForQt5.callPackage ../applications/editors/kdevelop5/kdevelop-pg-qt.nix { }; 27746 - 27747 - kdevelop-unwrapped = libsForQt5.callPackage ../applications/editors/kdevelop5/kdevelop.nix { 27748 - llvmPackages = llvmPackages_10; 27749 - }; 27750 - 27751 - kdev-php = libsForQt5.callPackage ../applications/editors/kdevelop5/kdev-php.nix { }; 27752 - kdev-python = libsForQt5.callPackage ../applications/editors/kdevelop5/kdev-python.nix { 27753 - python = python3; 27754 - }; 27755 - 27756 - kdevelop = libsForQt5.callPackage ../applications/editors/kdevelop5/wrapper.nix { }; 27757 - 27758 kepubify = callPackage ../tools/misc/kepubify { }; 27759 27760 kermit = callPackage ../tools/misc/kermit { };
··· 27742 27743 kdeltachat = libsForQt5.callPackage ../applications/networking/instant-messengers/kdeltachat { }; 27744 27745 kepubify = callPackage ../tools/misc/kepubify { }; 27746 27747 kermit = callPackage ../tools/misc/kermit { };