1{ mkDerivation, lib, cmake, extra-cmake-modules
2, threadweaver, ktexteditor, kdevelop-unwrapped, python39
3}:
4let
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;
8in
9mkDerivation 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}