2022-07-14 12:49:19 +00:00
|
|
|
{ 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 {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "kdev-python";
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DPYTHON_EXECUTABLE=${python}/bin/python"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [ threadweaver ktexteditor kdevelop-unwrapped ];
|
|
|
|
|
2021-02-19 19:06:45 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
maintainers = [ maintainers.aanderse ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
description = "Python support for KDevelop";
|
|
|
|
homepage = "https://www.kdevelop.org";
|
|
|
|
license = [ licenses.gpl2 ];
|
|
|
|
};
|
|
|
|
}
|