2022-02-25 20:57:42 +00:00
|
|
|
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }:
|
2019-02-15 02:25:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-07-18 03:18:03 +01:00
|
|
|
pname = "kdev-python";
|
2021-02-04 16:34:55 +00:00
|
|
|
version = "5.6.2";
|
2019-02-15 02:25:23 +00:00
|
|
|
|
2022-02-25 20:57:42 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/kdevelop/${version}/src/${pname}-${version}.tar.xz";
|
|
|
|
hash = "sha256-IPm3cblhJi3tmGpPMrjSWa2fe8SLsp6sCl1YU74dkX8=";
|
2019-02-15 02:25:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DPYTHON_EXECUTABLE=${python}/bin/python"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [ threadweaver ktexteditor kdevelop-unwrapped ];
|
|
|
|
|
2021-01-12 11:50:23 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2019-02-15 02:25:23 +00:00
|
|
|
meta = with lib; {
|
|
|
|
maintainers = [ maintainers.aanderse ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
description = "Python support for KDevelop";
|
2019-07-18 03:18:03 +01:00
|
|
|
homepage = "https://www.kdevelop.org";
|
2019-02-15 02:25:23 +00:00
|
|
|
license = [ licenses.gpl2 ];
|
|
|
|
};
|
|
|
|
}
|