* gnu/packages/kde.scm (kdev-python): New variable. --- gnu/packages/kde.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index aef56bb..902038f 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -31,6 +31,7 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages llvm) + #:use-module (gnu packages python) #:use-module (gnu packages pkg-config) #:use-module (gnu packages tls) #:use-module (gnu packages qt) @@ -122,6 +123,52 @@ build systems (CMake, QMake, custom Makefiles) and version control software (Git, Subversion, Mercurial, CVS and Bazaar).") (license license:lgpl2.1+))) +(define-public kdev-python + (package + (name "kdev-python") + (version "5.0.3") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/kdevelop" + "/" version "/src/kdev-python-" + version ".tar.xz")) + (sha256 + (base32 + "1sh5k3il985f991vzlqdkihn588bz14p5dl7kymwcrgc52cp0h7i")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("kdevplatform" ,kdevplatform) + ("python" ,python) ; only supports Python3 + ("grantlee" ,grantlee) + ("qtbase" ,qtbase) + ("qtdeclarative" ,qtdeclarative) + ("ki18n" ,ki18n) + ("karchive" ,karchive) + ("kguiaddons" ,kguiaddons) + ("knewstuff" ,knewstuff) + ("kiconthemes" ,kiconthemes) + ("kitemmodels" ,kitemmodels) + ("knotifications" ,knotifications) + ("knotifyconfig" ,knotifyconfig) + ("kparts" ,kparts) + ("kcrash" ,kcrash) + ("kwindowsystem" ,kwindowsystem) + ("threadweaver" ,threadweaver) + ("ktexteditor" ,ktexteditor) + ("kcmutils" ,kcmutils) + ("kdevelop" ,kdevelop))) + (arguments + `(#:tests? #f)) ; tests fail, require display + (home-page "https://kdevelop.org") + (synopsis "Python language support for KDevelop") + (description "The KDevelop Python plugin provides semantic syntax +highlighting, code navigation, completion, documentation integration and more +for Python3 in KDevelop.") + (license license:lgpl2.1+))) + (define-public kdevelop-pg-qt (package (name "kdevelop-pg-qt") -- 2.7.4