depot/pkgs/applications/kde/kdevelop/kdev-python.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

28 lines
763 B
Nix

{ 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 ];
};
}