anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / kde / kdevelop / kdev-python.nix
blob66335429bdd1306865c1a89d0d3b1bf29689fc41
1 { mkDerivation, lib, cmake, extra-cmake-modules
2 , threadweaver, ktexteditor, kdevelop-unwrapped, python39
3 }:
4 let
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;
8 in
9 mkDerivation rec {
10   pname = "kdev-python";
12   cmakeFlags = [
13     "-DPYTHON_EXECUTABLE=${python}/bin/python"
14   ];
16   nativeBuildInputs = [ cmake extra-cmake-modules ];
17   buildInputs = [ threadweaver ktexteditor kdevelop-unwrapped ];
19   dontWrapQtApps = true;
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   };