1{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }:
2
3stdenv.mkDerivation rec {
4 pname = "kdev-python";
5 version = "5.6.2";
6
7 src = fetchurl {
8 url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz";
9 sha256 = "sha256-Iw3puQ3ZS0eNfBvaZ4cxsP49IRqIMX3R+r3OPG771RI=";
10 };
11
12 cmakeFlags = [
13 "-DPYTHON_EXECUTABLE=${python}/bin/python"
14 ];
15
16 nativeBuildInputs = [ cmake extra-cmake-modules ];
17 buildInputs = [ threadweaver ktexteditor kdevelop-unwrapped ];
18
19 dontWrapQtApps = true;
20
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 };
28}