3
0
Fork 0
forked from mirrors/nixpkgs

kdevelop: move to kde/gear release 22.04.2

Also, use python 3.9 to build kdev-python plugin, broken on python 3.10.
This commit is contained in:
André Vitor de Lima Matos 2022-06-22 20:40:55 -03:00
parent 83c44f7927
commit 62a4d12769
8 changed files with 27 additions and 46 deletions

View file

@ -122,6 +122,11 @@ let
kdenlive = callPackage ./kdenlive {};
kdepim-runtime = callPackage ./kdepim-runtime {};
kdepim-addons = callPackage ./kdepim-addons.nix {};
kdevelop-pg-qt = callPackage ./kdevelop/kdevelop-pg-qt.nix {};
kdevelop-unwrapped = callPackage ./kdevelop/kdevelop.nix {};
kdev-php = callPackage ./kdevelop/kdev-php.nix {};
kdev-python = callPackage ./kdevelop/kdev-python.nix {};
kdevelop = callPackage ./kdevelop/wrapper.nix {};
kdf = callPackage ./kdf.nix {};
kdialog = callPackage ./kdialog.nix {};
kdiamond = callPackage ./kdiamond.nix {};

View file

@ -1,13 +1,7 @@
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, kdevelop-pg-qt }:
{ mkDerivation, lib, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, kdevelop-pg-qt }:
stdenv.mkDerivation rec {
mkDerivation rec {
pname = "kdev-php";
version = "5.6.2";
src = fetchurl {
url = "mirror://kde/stable/kdevelop/${version}/src/${pname}-${version}.tar.xz";
hash = "sha256-8Qg9rsK4x1LeGgRB0Pn3InSx4tKccjAF7Xjc+Lpxfgw=";
};
nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [ kdevelop-pg-qt threadweaver ktexteditor kdevelop-unwrapped ];

View file

@ -1,13 +1,13 @@
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }:
stdenv.mkDerivation rec {
{ mkDerivation, lib, cmake, extra-cmake-modules
, threadweaver, ktexteditor, kdevelop-unwrapped, python39
}:
let
# FIXME: stick with python 3.9 until MR supporting 3.10 is ready:
# https://invent.kde.org/kdevelop/kdev-python/-/merge_requests/16
python = python39;
in
mkDerivation rec {
pname = "kdev-python";
version = "5.6.2";
src = fetchurl {
url = "mirror://kde/stable/kdevelop/${version}/src/${pname}-${version}.tar.xz";
hash = "sha256-IPm3cblhJi3tmGpPMrjSWa2fe8SLsp6sCl1YU74dkX8=";
};
cmakeFlags = [
"-DPYTHON_EXECUTABLE=${python}/bin/python"

View file

@ -1,15 +1,11 @@
{ lib, stdenv, fetchurl, cmake, pkg-config, extra-cmake-modules, qtbase }:
let
stdenv.mkDerivation rec {
pname = "kdevelop-pg-qt";
version = "2.2.1";
in
stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.tar.xz";
sha256 = "0ay6m6j6zgrbcm48f14bass83bk4w5qnx76xihc05p69i9w32ff1";
};

View file

@ -1,21 +1,18 @@
{ mkDerivation, lib, fetchurl, cmake, gettext, pkg-config, extra-cmake-modules
{ mkDerivation, lib, cmake, gettext, pkg-config, extra-cmake-modules
, qtquickcontrols, qtwebkit, qttools, kde-cli-tools, qtbase
, kconfig, kdeclarative, kdoctools, kiconthemes, ki18n, kitemmodels, kitemviews
, kjobwidgets, kcmutils, kio, knewstuff, knotifyconfig, kparts, ktexteditor
, threadweaver, kxmlgui, kwindowsystem, grantlee, kcrash, karchive, kguiaddons
, plasma-framework, krunner, kdevelop-pg-qt, shared-mime-info, libkomparediff2
, libksysguard, konsole, llvmPackages, makeWrapper, kpurpose, boost
, libksysguard, konsole, llvmPackages_13, makeWrapper, kpurpose, boost
, qtwebengine, cppcheck
}:
let
llvmPackages = llvmPackages_13;
in
mkDerivation rec {
pname = "kdevelop";
version = "5.6.2";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.tar.xz";
sha256 = "sha256-D4a8P+U/dhwePj91RFd6DEFDO+i/8xDPLnKfdvQ2O/Y=";
};
nativeBuildInputs = [
cmake gettext pkg-config extra-cmake-modules makeWrapper
@ -32,6 +29,7 @@ mkDerivation rec {
kjobwidgets kcmutils kio knewstuff knotifyconfig kparts ktexteditor
threadweaver kxmlgui kwindowsystem grantlee plasma-framework krunner
shared-mime-info libksysguard konsole kcrash karchive kguiaddons kpurpose
cppcheck qtwebengine
];
# https://cgit.kde.org/kdevelop.git/commit/?id=716372ae2e8dff9c51e94d33443536786e4bd85b

View file

@ -1646,7 +1646,8 @@ mapAliases ({
ffmpegthumbs filelight granatier gwenview k3b kactivitymanagerd kaddressbook
kalendar kalzium kapman kapptemplate kate katomic kblackbox kblocks kbounce
kcachegrind kcalc kcharselect kcolorchooser kde-cli-tools kde-gtk-config
kdenlive kdeplasma-addons kdf kdialog kdiamond keditbookmarks kfind kfloppy
kdenlive kdeplasma-addons kdevelop-pg-qt kdevelop-unwrapped kdev-php
kdev-python kdevelop kdf kdialog kdiamond keditbookmarks kfind kfloppy
kgamma5 kget kgpg khelpcenter kig kigo killbots kinfocenter kitinerary
kleopatra klettres klines kmag kmail kmenuedit kmines kmix kmplot
knavalbattle knetwalk knights kollision kolourpaint kompare konsole kontact

View file

@ -27742,19 +27742,6 @@ with pkgs;
kdeltachat = libsForQt5.callPackage ../applications/networking/instant-messengers/kdeltachat { };
kdevelop-pg-qt = libsForQt5.callPackage ../applications/editors/kdevelop5/kdevelop-pg-qt.nix { };
kdevelop-unwrapped = libsForQt5.callPackage ../applications/editors/kdevelop5/kdevelop.nix {
llvmPackages = llvmPackages_10;
};
kdev-php = libsForQt5.callPackage ../applications/editors/kdevelop5/kdev-php.nix { };
kdev-python = libsForQt5.callPackage ../applications/editors/kdevelop5/kdev-python.nix {
python = python3;
};
kdevelop = libsForQt5.callPackage ../applications/editors/kdevelop5/wrapper.nix { };
kepubify = callPackage ../tools/misc/kepubify { };
kermit = callPackage ../tools/misc/kermit { };