2021-12-24 04:21:11 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "kdev-python";
|
2021-08-05 21:33:18 +00:00
|
|
|
version = "5.6.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-24 04:21:11 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KDE";
|
|
|
|
repo = "kdev-python";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-xYElqpJjRtBRIyZGf6JaCvurQ+QrGrdLHxtuANYfCds=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DPYTHON_EXECUTABLE=${python}/bin/python"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [ threadweaver ktexteditor kdevelop-unwrapped ];
|
|
|
|
|
2021-02-19 19:06:45 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
maintainers = [ maintainers.aanderse ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
description = "Python support for KDevelop";
|
|
|
|
homepage = "https://www.kdevelop.org";
|
|
|
|
license = [ licenses.gpl2 ];
|
|
|
|
};
|
|
|
|
}
|