diff options
Diffstat (limited to 'pkgs/applications/kde/kdevelop/kdev-python.nix')
-rw-r--r-- | pkgs/applications/kde/kdevelop/kdev-python.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/kde/kdevelop/kdev-python.nix b/pkgs/applications/kde/kdevelop/kdev-python.nix new file mode 100644 index 0000000000000..66335429bdd13 --- /dev/null +++ b/pkgs/applications/kde/kdevelop/kdev-python.nix @@ -0,0 +1,28 @@ +{ 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"; + + cmakeFlags = [ + "-DPYTHON_EXECUTABLE=${python}/bin/python" + ]; + + nativeBuildInputs = [ cmake extra-cmake-modules ]; + buildInputs = [ threadweaver ktexteditor kdevelop-unwrapped ]; + + dontWrapQtApps = true; + + meta = with lib; { + maintainers = [ maintainers.aanderse ]; + platforms = platforms.linux; + description = "Python support for KDevelop"; + homepage = "https://www.kdevelop.org"; + license = [ licenses.gpl2 ]; + }; +} |