2019-02-15 03:25:23 +01:00
|
|
|
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-07-18 04:18:03 +02:00
|
|
|
pname = "kdev-python";
|
2020-12-12 10:13:33 +01:00
|
|
|
version = "5.6.1";
|
2019-02-15 03:25:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz";
|
2020-12-12 10:13:33 +01:00
|
|
|
sha256 = "1jma7j70imzxlyz8580m79jycif7zphga3zzfmqimn8syzz917hv";
|
2019-02-15 03:25:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DPYTHON_EXECUTABLE=${python}/bin/python"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [ threadweaver ktexteditor kdevelop-unwrapped ];
|
|
|
|
|
2021-01-12 12:50:23 +01:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2019-02-15 03:25:23 +01:00
|
|
|
meta = with lib; {
|
|
|
|
maintainers = [ maintainers.aanderse ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
description = "Python support for KDevelop";
|
2019-07-18 04:18:03 +02:00
|
|
|
homepage = "https://www.kdevelop.org";
|
2019-02-15 03:25:23 +01:00
|
|
|
license = [ licenses.gpl2 ];
|
|
|
|
};
|
|
|
|
}
|