2022-06-22 23:40:55 +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 {
|
2019-07-18 02:18:03 +00:00
|
|
|
pname = "kdev-python";
|
2019-02-15 02:25:23 +00:00
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DPYTHON_EXECUTABLE=${python}/bin/python"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [ threadweaver ktexteditor kdevelop-unwrapped ];
|
|
|
|
|
2021-01-12 11:50:23 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2019-02-15 02:25:23 +00:00
|
|
|
meta = with lib; {
|
|
|
|
maintainers = [ maintainers.aanderse ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
description = "Python support for KDevelop";
|
2019-07-18 02:18:03 +00:00
|
|
|
homepage = "https://www.kdevelop.org";
|
2019-02-15 02:25:23 +00:00
|
|
|
license = [ licenses.gpl2 ];
|
|
|
|
};
|
|
|
|
}
|